Skip to content

Instantly share code, notes, and snippets.

@rahul003
Last active August 29, 2015 13:59
Show Gist options
  • Save rahul003/10991605 to your computer and use it in GitHub Desktop.
Save rahul003/10991605 to your computer and use it in GitHub Desktop.
Example Cron job for backup
# Adding tasks:
# m h dom mon dow command
59 23 * * 1,2,3,4,5,6 /home/rh/git/useful_scripts/backup/incr_backup.sh
59 23 * * 7 /home/rh/git/useful_scripts/backup/full_backup.sh
#view cron tasks
crontab -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment