Explainers
Cron monitoring: catch missed jobs and stale backups
Learn how heartbeat monitoring detects jobs that never run, finish late or fail. Set a useful grace window and keep completion signals separate from restore tests.

A cron monitor detects work that should happen but does not. Instead of repeatedly requesting a website, it waits for a scheduled job to report completion. If the signal is missing after the allowed window, the monitor raises an alert even when the website itself is still online.
This matters for backups, reports, imports and certificate-renewal jobs. A page check can stay green while yesterday's export is the newest file available. Use uptime monitoring for public availability and a heartbeat for scheduled work that must not go silent.
Separate three kinds of failure
A useful job monitor distinguishes a job that never starts, a job that starts and hangs, and a job that exits with an error. A completion-only signal detects the first two after the deadline, but an explicit failure signal can report the third sooner.
Healthchecks.io documents separate success, start and failure pings. Appending /start to a check's private ping URL records a start. Appending /fail reports a failure. A normal ping records success. These URLs belong in the job's private configuration, not a public repository or a screenshot.
Better Stack Uptime also offers heartbeat checks. Compare the two services by the schedule rules, alert route and team workflow you need. Healthchecks.io specializes in scheduled jobs; its documentation explicitly excludes active website-uptime probing.
Choose a deadline from the job's actual schedule
For a job intended to run at a fixed local time, use a schedule-aware check and the correct time zone. A simple 24-hour period follows the time since the last ping; it does not inherently express “every day at 02:00.” Daylight-saving changes and delayed starts deserve attention when choosing the schedule.
Suppose a backup is due at 02:00 and normally completes within 20 minutes. A proposed 45-minute grace window allows some variation. These are illustrative settings, not a recommended default for every backup.
| Event | Interpretation for this example |
|---|---|
| Completion arrives at 02:18 | The scheduled work reported completion within the window. |
| No signal arrives by 02:45 | The scheduled ping is overdue beyond the 45-minute grace window. |
| The job reports failure at 02:07 | An explicit failure signal can raise an alert without waiting for the missing-ping deadline. |
| A start arrives, but no completion follows | With start signaling, Healthchecks.io also checks whether the run exceeds its grace time. |
The last row adds a runtime rule: Healthchecks.io documents marking a started job down when it does not report success within the configured grace time. Keep that rule in mind when a delayed job finally starts. Review the service's actual state transitions instead of treating every type of deadline as identical.
Send success after validating the output
Place the success signal after the work and the checks that make its output useful. For a backup, that could include confirming the command's exit status, the expected artifact's presence and a format-specific integrity check. Decide what failure means before wiring the notification.
The control flow should be:
- Report that the job started, if using start signals.
- Run the task and its output checks.
- Preserve the task's real result.
- Report success only when those checks pass; otherwise report failure.
- Return the task's real result to its scheduler.
Do not send an unconditional success signal after a command that may have failed. Also avoid letting a notification request overwrite the task's exit status. A monitoring-network failure should be recorded, but must not turn a failed backup into a successful scheduler result or prevent the backup from running.
This is a control-flow recipe, not an installed backup script. Adapt it to the scheduler and backup command you already use, including timeout and retry behavior for the ping request.
Test silence as well as a reported error
A failure ping proves only that the failure-reporting path works. It does not prove that an absent job produces an alert. Use a disposable check and a harmless task to test both.
First run the task normally and confirm that success appears. Then make it return a known error and confirm a failure alert. Next, stop the test task entirely and wait beyond the configured deadline. Finally, simulate a run that starts but never sends completion. Restore the test afterward and confirm the recovery notification.
Record the schedule, time zone, grace setting and alert recipient. If an alert arrives while nobody is responsible for that job, fix the response process before adding more checks. Give the notification a meaningful name such as “nightly customer export,” rather than an unexplained machine identifier.
A completion ping is not a restore test
A job can report success while backing up the wrong directory or producing an unusable archive. Heartbeats observe reporting behavior. They do not inspect the full meaning of the data, and neither does a green website check.
Use the backup strategy guide to plan separate copies and recovery. Restore a sample into an isolated destination and check that the recovered application or files work. Define how old the newest valid backup may be before the situation needs action.
Healthchecks.io's hosted free plan currently covers 20 checks, while Better Stack advertises 10 heartbeats in its free allowance. These limits were checked October 20, 2026. They describe capacity, not evidence that a backup is safe. Start with jobs whose silence would cause a real problem.
Sources
Official documentation checked October 20, 2026:
- Healthchecks.io scope: heartbeat monitoring and excluded use cases.
- Check configuration: schedules, periods and grace settings.
- Failure signals: explicit failures and exit-status interpretation.
- Start signals and runtime: additional grace-time behavior after a start.
- Healthchecks.io plans and Better Stack Uptime: current free allowances.
Compare head to head
- Better Stack UptimeversusHealthchecks.io
- Better Stack UptimeversusUptimeRobot
- Better Stack UptimeversusUptime Kuma
- Uptime KumaversusUptimeRobot
Mentioned in this article
Related lessons
Learning CenterKeep reading
All articles- Guides · 5 min readHow to choose uptime monitoring for a small websiteCompare hosted website monitors by useful checks, free-plan limits and alert delivery. Build a small monitoring plan that catches more than a failed homepage.
- Comparisons · 5 min readUptime Kuma vs Gatus: web setup or checks in codeCompare Uptime Kuma and Gatus by configuration, response checks, history and operating effort. See where to place a self-hosted monitor and how to trial it.
- Roundups · 5 min readBest open-source alternatives to paid softwareOpen-source apps that can replace paid tools for notes, office work, backups, analytics, chat and remote access, with the hosting trade-offs of each one.



