
5 Ways Your Cron Jobs Are Failing Silently (and How to Catch Them)
Last month I was on call when a customer reported missing data in their dashboard. Server was fine. Uptime monitor showed green. APM had zero errors. Logs looked completely normal. Turns out our nightly Stripe sync a cron job that pulls transaction data into our analytics DB had been dead for 11 days. The crontab entry was still there. The script was still there. A permissions error after a deploy killed it, and cron just... didn't tell anyone. I've seen this exact scenario play out at three different companies now. Cron jobs break in ways that nothing else catches. Here are the five patterns I keep running into. 1. Job gets nuked during a deploy Sneakiest one on this list. You push a deploy. The container rebuilds. Somewhere in the process, the crontab gets wiped or overwritten with a stale version. Yesterday the job existed. Today it doesn't. And nothing fires an alert because there's no crash, no error, no log line just absence. I've seen this happen from: Docker rebuilds that don't
Continue reading on Dev.to DevOps
Opens in a new tab




