Open main menu

CDOT Wiki β

Changes

Crontab tutorial

300 bytes added, 11:02, 14 January 2017
no edit summary
'''@hourly''' Run once an hour (replaces: 0 * * * *)<br>
</span>
 
==Examples for crobtab entries==
 
Here are some examples of crontab entries for automating backup:
 
 
@reboot rsync -avz 192.168.10.158:/etc /backup/vm1/ # Remotely backup changes to /etc/ files in vm1
 
0 2 * * * rsync -avz 192.168.10.158:/etc /backup/vm1/ # Backup at 2:00 am everyday
13,420
edits