Friday, September 19, 2014

Why did my cron job run twice when the clocks went back?

The clocks went back an hour last night at 2am - British Summer Time ended. My backup job is scheduled to run daily at 01:12. It ran twice. This is on a Debian Lenny server.




man cron says:




if the time has moved backwards by less than 3 hours, those jobs that fall into the repeated time will not be re-run




The crontab entry is:
12 1 * * * /home/lawnjam/bin/backup.sh



What's going on?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...