Operations

How do you know a background job has quietly stopped doing its work?

A backup job and a job scheduler both failed silently in November 2026. Alert on missing success from outside the host, reconcile inputs, and lock runs.

2 min readDEV GroupOperations · Reliability

Two jobs that failed without telling anyone

Because the job's failure and the job's alarm usually share a dependency, and because no error gets read as done. Watch for the outcome you expect, from somewhere the job cannot take down with it. Two incident reports from November 2026 show both halves. On 21 November the hosting provider WAYSCloud published a report on a database host where routine maintenance broke name resolution. The job that copies transaction-log archives off-site failed every attempt for about 24 hours, and the same fault stopped the host from reporting backup status, so the failure never reached the team. The job also had no protection against overlapping runs: failing uploads piled up overnight until the host ran short of memory and starved the database, and only then did an availability probe page. WAYSCloud called the dependent alert path the most serious finding. On 17 November the workflow platform Inngest published a report on 12 November, when a queue routing failure during a rollout led its scheduler to treat retries as duplicates. Events were accepted and stored, but the functions they should have started never ran, and no failure record appeared. In both cases nothing logged an error that anyone saw.

Alert on missing success, from outside

Have every scheduled job report success to a monitor that runs somewhere else, and page when the expected report does not arrive on time, not only when an error is logged. A heartbeat or dead-man's-switch check works because it fires on silence, and silence is what a job looks like when its host, network, or scheduler is broken. Check the dependencies the job needs, not only the port the main service listens on: WAYSCloud added a direct name-resolution check because its availability monitoring had tested only the database port. For event-driven work, reconcile inputs against outcomes. Every accepted event or queued item should end in a recorded success or a recorded failure within a set time; count the ones that have neither and alert when that count is above zero. Treat a deduplication marker as a claim to verify, so a retry is skipped only when the earlier run actually finished.

Stop failing runs from piling up

Give each job a lock so a new run cannot start while the previous one is still going, a timeout so a stuck run ends, and a retry limit with backoff so a failing dependency produces one clear alert instead of a growing pile of processes. Cap the memory and connections a job can use so it cannot starve the service it supports. When you recover, do what WAYSCloud did: prove one run end to end with real data before resuming the schedule, then drain the backlog. Heartbeats checked from outside, input-to-outcome reconciliation, run locks, and a verified restart are operations tooling work, the unglamorous layer that decides whether a broken job is found in minutes or a day later, and that is where we fit.

Sources

Was this useful?

Get in touch

Seeing one of these in your system?

Describe what exists today and where it breaks. We will come back with a technical point of view and a scoped first step.