Scheduling a backup on just one day a month
Hi again,
For one of my backups I only want it to run once a month. So yesterday I setup the schedule to copy every 1st week on Sunday at 4:00 am.
When I opened the Schedule window today (to check that other backups had run on time) I noticed that the monthly backup had already run, despite not being Sunday ('Last Copy' entry says Thursday December 1st). The 'Next Copy' part correctly says Sunday December 4th. So I ran 'crontab -l' to see what the crontab file was reporting and the date & time part of the entry says:
0 4 1-7 * 0
I think this is where the problem lies. According to my understanding, cron will run jobs when the time field is matched and *one* of the day/month fields is correct. So I think it will run every Sunday *and* on each of the first seven days of the month.
So I'm not sure if this is something that needs to be dealt with?
Regards,
Keith
|