Skip to content← All gravesR.I.P.
Cron job that ran twice at DST
–
“Died twice in one night. Twice as dead.”
JavaTimezone
Death certificate
- Status
- 🪦 Buried
- Cause of death
- TimezoneWorked perfectly, except at midnight UTC, during daylight saving, or for anyone else on Earth.
- Severity
- Critical
- Hours to kill
- 11 hours
- Killed by
- Jashanpreet
- Language
- Java
- Born
- 27 Oct 2024
- Fix merged
- 4 Nov 2024
- Buried
- 13 Nov 2024
- Component
- scheduler
- Symptoms
- When the clocks fell back an hour, the nightly job ran twice at 01:30 and every customer got two invoices.
- The fix
- Scheduled the job in UTC and made it safe to run twice.
Timeline
Every life of this bug, oldest first.
- 🐛
Born as “Cron job that ran twice at DST”27 Oct 2024
- 🩹
Fix merged4 Nov 2024
- 🪦
Buried13 Nov 2024