Cron monitoring explained
On this page
Short, answer-first pages on the ideas behind monitoring scheduled jobs, and on the problems that make them fail: environments, logs, time zones, overlaps and exit codes.
Start monitoring
Cron job monitoring serviceA cron job monitoring service for crontab, CI and containers: each job pings a URL, and you get an alert when a ping is late or reports a failure.Cron monitoringCron monitoring for many jobs on many machines: one ping per job, readable slug URLs, projects and tags, and one alert per failure on any channel.How to monitor cron jobsHow to monitor cron jobs: add one curl to the job, create a check that expects it, pick an alert channel, and test it by letting one run fail.
Cron basics
What is a cron jobA cron job is a command that the cron scheduler runs at set times. See how a schedule is written, where jobs live, what they do and how to watch them.Cron syntax cheat sheetThe five cron fields, the characters * , - and /, the @daily style shortcuts, the day field rule and ten expressions to copy, each checked.Python cron jobsRun a Python script from cron with absolute paths, a virtualenv and a log file, know when to use APScheduler or Celery beat, and get an alert if it stops.
The ideas
Cron job monitoringCron job monitoring catches jobs that did not start, failed, or hung. Learn the three failure classes and the smallest setup that covers them.Dead man's switchA dead man's switch raises an alarm when an expected signal stops. See how it applies to cron jobs, backups and scheduled tasks.Heartbeat monitoringHow heartbeat monitoring works: a ping per run, a schedule, a grace time, and the states a check moves through from new to up, late and down.Heartbeat vs uptime monitoringUptime monitors call your service from outside; heartbeat monitors wait for your job to call them. See which one catches which failure.
When a job is not running
Cron job not running checklistWork through why a cron job is not running: the daemon, the crontab file, the environment, permissions, percent signs, time zones and containers.Cron environment and PATHCron runs jobs with a small environment. Learn what it sets, why commands that work in your shell fail, and how to set PATH and SHELL.Cron logsFind cron logs on Linux: the system log, journalctl, mail and your own log files, and how to make a job leave evidence of what it did.Cron time zones and daylight savingWhat cron, Kubernetes, GitHub Actions, Vercel and EventBridge do with time zones and clock changes, and how to schedule so a change cannot hurt.
Designing the check
Choosing a grace timeGrace time is how late a ping may be before an alert. A rule of thumb with worked examples, and when a longer or shorter grace is right.Start and finish pingsSend /start when a job begins and a normal ping when it ends. CronMissed then times each run and alerts if a started run never finishes.Exit codes and failure signalsRead a job's exit status, send it to CronMissed with /<code>, and avoid the pipeline traps that hide a failure behind a zero.Overlapping cron runsA cron job that outlasts its interval starts a second copy. See how to prevent overlaps with flock and the controls in each scheduler.Cron every 30 secondsUnix cron cannot run faster than once a minute. Use two lines with sleep, a systemd timer or an in-process scheduler, and monitor the result.Cron vs systemd timersCompare cron and systemd timers: syntax, logging, catching up after downtime, accuracy and resource control, and how to monitor each.Docker HEALTHCHECKWhat the Docker HEALTHCHECK instruction does, its options and exit codes, and how a scheduled container job or a container heartbeat pings CronMissed.
Questions and answers
- Start with "what is cron job monitoring", then pick the guide for your platform. If a job is already misbehaving, the not-running checklist goes through the usual causes in order.
- Yes. The free cron tools explain an expression, preview its next runs across clock changes, convert it between schedulers, and write the check settings and snippet for a job.
Where should I start?
Are there tools to go with these pages?
Know the moment a job goes quiet
Create a check, add one curl to the job, and CronMissed alerts you when a ping is late or reports a failure.
Start monitoring