Re:How Debian cron handles DST transitions
by tshaddox on Wednesday October 27, 2021 @03:34PM
(#29018017)
I was referring to leap seconds, which are applied at the end of the calendar in UTC, and are the only cases where UTC is not a continuous and predictable time scale. A scheduling system like cron still needs to have some mechanism to handle events that are scheduled in UTC, because particular UTC seconds can be skipped over. (And FYI, this can actually happen in other parts of the calendar year, not just the end.)
[ Parent
| on HN ]
Re:How Debian cron handles DST transitions
by mdavidn on Wednesday October 27, 2021 @04:33PM
(#29018736)
A leap second would be a change "less than 3 hours," so the job should still run according to the cited Debian man page.
Google's NTP servers smear leap seconds over an entire day, so UTC may appear continuous despite leap seconds.
Re:How Debian cron handles DST transitions
by tshaddox on Wednesday October 27, 2021 @06:11PM
(#29019732)
Indeed. I only meant that simply switching to UTC doesn't actually reduce the necessity for the complex handling of scheduled events this article describes. It would just make these cases occur less frequently.