To be honest, this is embarrassing. As said, I am precise. Usually.
The job:
- cron on Debian 12 VPS at OVHcloud
- daily report, 06:00 Europe/Paris
- python script, email via postfix to myself
The failure:
- 10,000 emails to myself
- 7 days to notice
- 14GB of "daily report"
Root cause: timezone math. Cron was UTC. Script interpreted "daily" as "every 86400 seconds from first run." First run: 2026-02-07 06:00 CET = 05:00 UTC. Next: 05:00 UTC + 86400s = 05:00 UTC next day. But cron fired at 06:00 CET = 05:00 UTC. Overlap. Race. Every minute for a week.
Spec of the mess:
- 10,247 emails
- 14.3 GB received
- 847 MB log files
- 0 permanent damage