I actually set up cron jobs last fall to capture what happens during the switch from daylight savings to standard time. It revealed an interesting (at least to me) programming decision. Here's a snippet from the log (time as entered in cron on left, actual time on right)
Code:
00:59 cron check at Sat Oct 29 00:59:01 CDT 2005
01:00 cron check at Sat Oct 29 01:00:00 CDT 2005
01:01 cron check at Sat Oct 29 01:01:00 CDT 2005
01:59 cron check at Sat Oct 29 01:59:01 CDT 2005
02:00 cron check at Sat Oct 29 02:00:00 CDT 2005
02:01 cron check at Sat Oct 29 02:01:00 CDT 2005
00:59 cron check at Sun Oct 30 00:59:00 CDT 2005
01:00 cron check at Sun Oct 30 01:00:00 CDT 2005
01:01 cron check at Sun Oct 30 01:01:00 CDT 2005
01:59 cron check at Sun Oct 30 01:59:00 CDT 2005
[COLOR=red]02:00 cron check at Sun Oct 30 01:00:01 CST 2005[/color]
01:01 cron check at Sun Oct 30 01:01:00 CST 2005
01:59 cron check at Sun Oct 30 01:59:00 CST 2005
02:00 cron check at Sun Oct 30 02:00:00 CST 2005
02:01 cron check at Sun Oct 30 02:01:00 CST 2005
I'd venture that most of us consider the fall switch to be "at 2:00 you turn back the clock to 1:00". But in reality, you can't have both 2:00 and the second 1:00 without introducing an extra minute, or an extra second if you think of it as changing from 02:00:00 to 01:00:00.
So you have to lose one of those times on the cusp of the change. I'm sure the decision of which second to lose has been ANSI codified, but it was interesting (again, at least to me) to see that it went from 02:00:00 to 01:00:01 (the 02:00 job ran twice, the 01:00 didn't).
So if you're
stupid insane brave enough to live on the edge, you can theoretically schedule jobs for 01:00 in the fall. If I remember, I'll check things out in a couple weeks to get the skinny on springing forward.
Personally, I'll stick with considering anything between 01:59 and 03:01 a cron scheduling no man's land. It still leaves me with 95.69% of the day for scheduling, and I'm not greedy.
Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+