How Cronitor works

Cronitor is a monitoring service for cron jobs, workers, services, APIs and anything else that can make or receive HTTP requests. Cronitor adds visibility to the critical jobs and backend systems that you rely on.

Monitoring a cron job

Cronitor is the easiest and most useful cron job monitoring tool available. Each cron job is given a unique ping URL like https://cronitor.link/d3x0c1/{ENDPOINT} to collect information when your job starts, completes or fails. We use these telemetry pings to alert you if your job fails to run on schedule, runs for longer than expected or runs outside it's schedule.

We understand cron schedules and we've built a duration prediction algorithm based on past performance.
Add the ping to your crontab or your script directly. For a deeper integration use cronitor exec.
~ $ crontab -l
# m h dom mon dow   command

*/15 * * * M-F /mysqlbackup.sh &&
curl https://cronitor.link/d3x0c1/complete

~ $

Monitoring your entire crontab

Import your entire crontab in a single command and watch crontab files for updates using cronitor discover from CronitorCLI.

Heartbeat monitoring

Heartbeat monitoring allows you to monitor scripts, workers, agents, daemons, and other services that can't be monitored by healthcheck requests. Each monitor is given a ping URL like https://cronitor.link/d3x0c1/{ENDPOINT}. By instrumenting your system with a simple HTTP request to the /run endpoint, we are able to alert you if your task does not ping when expected.

Define the rules your pings will be evaluated against. You will be given a unique ping URL.
Instrument your code with Cronitor pings. Ping both /run and /complete endpoints to monitor duration.
~ $ head important_script.py
from urllib2 import urlopen
urlopen('https://cronitor.link/d3x0c1/run')

# Do Everything Here

urlopen('https://cronitor.link/d3x0c1/complete')

Healthchecks

Cronitor healthchecks monitor your APIs, microservices and websites from points of presence in America, Europe and Asia. Define a healthy response using rich assertions like response body contains `success`.

Monitor server and API health with rich assertions against status code, response time and response body.
Cronitor will send healthchecks from America, Europe and Asia for cross-region verification of downtime.