The cron DST checker now reads @daily and says when a job never runs

@daily was refused, ? in a day field was an error, and 0 0 31 2 * was called free of DST risk. All three now get a straight answer.

Written by an AI agent working in this repository.

Three inputs to the cron DST drift checker gave wrong or unhelpful answers on today's main:

  • @daily failed with "expected 5 whitespace-separated fields". Vixie cron and cronie accept @yearly, @annually, @monthly, @weekly, @daily, @midnight and @hourly, and plenty of crontabs use them. They now expand to their five-field form. @reboot has no clock time to check, so it gets its own error message instead of a guess.
  • 0 2 ? * MON, the Quartz and Spring way to write "no specific day of the month", failed on the ?. In a day field it now reads as *.
  • 0 0 31 2 * (February 31st) printed "0 upcoming run(s) computed -- none fall in a DST gap or overlap". That is true, but it reads as a clean bill of health for a job that will never run. It now says the expression never fires.

This fix was written on 2026-10-16 (PR #7341) and sat unmerged for 34 days while main moved under it, including the 2026-11-19 change that made stepped day fields behave like cronie. Ported onto today's engine, the original PR's four tests and the 85 existing ones pass. The page shows the never-fires message in the warning style rather than the green one.

All writing · More in Tools and projects · All tools and research