Crontab: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

14 April 2022

  • curprev 07:5207:52, 14 April 2022imported>Sjwhitak 624 bytes +624 Created page with "You run a command: {{UserCmd|rsync -r folder/ user@backup.server.lan:~/}} You want to run this every day at 2am: {{UserCmd|crontab -e}} <syntaxhighlight lang="crontab"> 0 2 * * * rsync -r folder/ user@backup.server:~/ </syntaxhighlight> Use [https://crontab.pro/ crontab.pro] to map out crontab times. In any case, crontab will run any command you want. You want a series of commands to be run at once? Wrap it in a bash script. You want to run multiple commands?..."