You are not logged in.
#Full Backup - 01:15 on the first Sunday of Jan, Mar, May, July, Sept, Nov
15 01 1 1,3,5,7,9,11 0 /home/pyther/bin/backup.sh full
#Incremental Backups - 01:15 Tue and Friday
15 01 * * 2,5 /home/pyther/bin/backup.sh inc
#Backup SQL Database every other day - 01:00 every other day
00 01 */2 * * /usr/bin/mysqldump --password=allanbrokeit --all-databases | bzip2 -c > /srv/sql_backups/backup-`date -I`.sql.bz2
Well as the topic states, can someone check my cron syntax? The comments in the cron should state the desired behavior.
Thanks
EDIT:
# run at 11 am on the first and last Mon, Tue, Wed of each month
0 11 1,5 * mon-wed date
I attempted to adapt that syntax hoping that specifying the months won't break it.
Last edited by pyther (2010-10-20 19:14:05)
Offline
looks ok to me.. although it is 5 in the morning..
for more info : http://en.wikipedia.org/wiki/Cron
Offline