Cron job monitoring
Last updated 3 December 2026
A backup that stopped running last Tuesday doesn't send an error. It sends nothing. Heartbeat monitoring catches that silence: your job calls a URL each time it finishes, and if the call doesn't come on time, you get an alert.
How it works
- Add a heartbeat with a name, how often the job runs, and a grace period.
- We give you a ping URL. Call it with GET, HEAD or POST when the job succeeds.
- No ping within the period plus grace, and we alert you. When pings come back, you get a recovery alert with how long it was down.
At the end of a crontab line:
0 2 * * * /usr/local/bin/backup.sh && curl -fsS -m 10 --retry 3 https://app.uptimesage.com/ping/your-token
The && means the ping only goes out when the backup exits cleanly, so a failing job alerts you too.
Good for
- Database and server backups
- Scheduled reports, invoices and email digests
- Queue workers and sync jobs
- systemd timers, Kubernetes CronJobs, GitHub Actions schedules
Details
- Periods from 1 minute to a month, grace from 1 minute to a day.
- A new heartbeat waits for its first ping, so setting it up doesn't trigger alerts.
- Pause a heartbeat during planned work, or use a maintenance window.
- Heartbeats count as monitors: 10 on the free plan, alongside website checks.