CronCanary DocsPricingOpen app
← Integration guides

Monitor a crontab cron job

Get notified when a scheduled crontab job fails silently — the daemon never fired, the box was down, or the script hung.

1. Create a check

In the dashboard, create a check. For a job that runs every night at 4:00, use a Cron schedule 0 4 * * * with your timezone, or a Simple period of 86400 seconds with a grace of 3600.

2. Ping on success

Append a curl to the end of your crontab line. It only runs if your job exited 0 (because of &&):

# /etc/crontab or `crontab -e` 0 4 * * * /usr/local/bin/backup.sh && curl -fsS $URL

3. Catch failures + hung jobs (optional)

Signal the start, then success — CronCanary measures duration and flags a job that started but never finished:

0 4 * * * curl -fsS $URL/start && /usr/local/bin/backup.sh && curl -fsS $URL || curl -fsS $URL/fail

Notes


Add a live status badge to your README

Every check has a public SVG badge that shows its live status (updates within ~1 minute). Paste this into any README — it doubles as a heartbeat anyone on the team can see:

[![CronCanary](https://croncanary.fluxath.app/badge/<your-check-id>.svg)](https://croncanary.fluxath.app)

Copy the exact markdown from your check's detail page. Add ?label=your-text to customize the left label.


Ready to wire this up? Create a free check — 20 checks, all alert channels, no card.