This question has already been answered:

It is necessary to take a database dump and send it to the post office once a week.

Reported as a duplicate by participants aleksandr barakin , Sergey Snegirev , Vladimir Martyanov , Pavel S. Zaitsau , awesoon 8 Jul '15 at 12:38 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .



    1 answer 1

    For such tasks there is a special demon - cron. To configure it, use the crontab command. For example, to write a text phrase to the file once a minute is enough
    1. Open the crontab -e settings editor
    2. Add an entry */1 * * * * echo wow >> /home/user/wow.txt
    3. Save changes and exit the editor.