logoalt Hacker News

Raphelltoday at 3:23 AM1 replyview on HN

I never really took time seriously until one of my cron jobs skipped execution because of daylight saving. That was the moment I realized how tricky time actually is.

This article explains it really well. The part about leap seconds especially got me. We literally have to smear time to keep servers from crashing. That’s kind of insane.


Replies

bigiaintoday at 4:40 AM

I avoid running "daily" cron jobs or other scheduled tasks around 2am for that reason, they might not get run or them might get run twice.

Where practical I schedule them around 12:00 (but I'm sure one day I'll get stung but some odd country who chooses to implement their daylight savings changeover in the middle of the day).