The Lab · Written in the open

Lab.

Working notes from the studio. The tools I build, the workflows I keep, the mistakes I paid for.

468 entries · latest 2026-10-21

Browse every entry by topic

Latest entry

RAXXO Studios 9 min read

Scheduled Jobs and Time Zones: The Midnight Bug I Keep Seeing

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...

BackendSchedulingTutorials
Read the entry
TLDR This entry in one minute
  • 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

All entries