Scheduled Jobs and Time Zones: The Midnight Bug I Keep Seeing
This story is from 2026-10-21. It is preserved in the archive; the latest stories are on the live feed.
Cron runs in UTC by default, so a "midnight" job can fire on the wrong local day Define the business day explicitly with a timezone string, never a UTC offset DST shifts your offset twice a year, which silently moves job times by an hour Test the four edge cases: midnight, month boundary, spring-fo…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-21 20:49 · DEV Community — AI
Scheduled Jobs and Time Zones: The Midnight Bug I Keep Seeing