Cron job monitoring that tells you when a job doesn't run

Your cron jobs, backups and scheduled tasks call a heartbeat URL each time they finish. When a call doesn't arrive on time, Odown alerts you by email, Slack, SMS or any of your alert channels.

Start your free 14-day trial

Heartbeat monitors are included on every plan, from $12 a month.

Trusted By

  • pentius
Why heartbeats

Scheduled jobs fail without making a sound

A cron entry lost in a deploy, a server that rebooted without its scheduler, a backup script that exits halfway through: none of these raise an error anywhere. The work just stops, and you find out days later when a report is missing or a restore has nothing to restore.

An uptime check can't catch this, because a background job has no URL to check. A heartbeat turns it round: the job checks in with Odown, and silence is the alert. It's also known as a dead man's switch.

How it works

Set up in about a minute

  1. 1

    Create a heartbeat

    Name it, choose how often the job runs (every minute up to once a day) and how late a call may be before you're alerted, from 1 minute to 12 hours.

  2. 2

    Add one line to your job

    Call the monitor's ping URL with GET, POST or HEAD when the job finishes. Put it after && and a failed run is reported as well as a missed one.

  3. 3

    Get alerted when it's missed

    If no call arrives within the interval plus the grace time, the monitor goes down and you're alerted. When calls start again, you get a recovery alert.

For example, a nightly backup in crontab:

0 2 * * * /usr/local/bin/backup.sh && curl -fsS -m 10 --retry 3 https://api.odown.com/v1/heartbeat/<your-token> > /dev/null

The monitor page gives you ready-to-paste examples with your own URL. The guide to cron job monitoring has more for systemd timers, Kubernetes CronJobs and scripts.

What to monitor

Anything that runs on a schedule

Backups

Database dumps, file backups and snapshots that must run every night.

Cron jobs

Anything in a crontab, a systemd timer or a Kubernetes CronJob.

Queues and workers

Workers that should process a batch every few minutes.

Data syncs and reports

Imports, exports, billing runs and scheduled emails.

Heartbeats sit alongside your website and API monitors in one dashboard, and use the same alert channels, so the jobs nobody watches get the same cover as the pages your customers see.

Send alerts to 9 channels

Email and SMS are built in. These are the most popular of the rest, and each has a setup guide.

See the full list of supported integrations

Cron job monitoring FAQ

What is cron job monitoring?

Cron job monitoring alerts you when a scheduled job doesn't run, or doesn't finish, on time. With Odown, the job calls a unique heartbeat URL when it completes, and you're alerted if that call doesn't arrive within the expected interval plus a grace time.

What's the difference between a heartbeat and an uptime check?

An uptime check calls your website or API. A heartbeat works the other way round: your job calls Odown. That's what lets it watch work that has no URL, such as backups and cron jobs.

How often can a job check in?

Anywhere from every minute to once a day. The grace time, how late a call may be before you're alerted, goes from 1 minute to 12 hours.

Will I know if the job runs but fails?

Yes, if you only call the ping URL when the job succeeds, for example with && after the command in crontab. A failed run then sends no call and you're alerted.

Is heartbeat monitoring included in my plan?

Yes. Heartbeat monitors are available on every plan and count toward your plan's monitor limit like any other monitor. Plans start at $12 a month, with a free 14-day trial and no credit card needed.

Read the heartbeat monitor docs, learn how a heartbeat differs from a ping check, or build a schedule with the free cron expression generator.

Know when a cron job misses its run

Add a heartbeat, ping it from your job, and Odown alerts you when the ping doesn't arrive.

Try Odown Free for 14 DaysNo credit card required.