Know when a cron job doesn't run.
Add two curl calls around a command in your crontab. If a run doesn't start or doesn't finish on time, CronDrive emails you or posts to Slack.
0
minute
5
hour
*
day
*
month
*
weekday
curl -fsS https://job.crondrive.com/uG2Exw/start;
tells CronDrive it started
backup.sh
your command
&& curl -fsS https://job.crondrive.com/uG2Exw/end
tells CronDrive it finished, only if it succeeded
Every run, on the record
Each job keeps a timetable of its runs: when it was due, when it started and finished, and the alerts sent when it didn't.
| Due | Started | Finished | Took | |
|---|---|---|---|---|
| Mon 05:00 | 05:00 | 05:07 | 7 min | On time |
| Tue 05:00 | 05:00 | 05:06 | 6 min | On time |
| Wed 05:00 | No start | Alert sent at 05:02 | ||
| Thu 05:00 | 05:01 | 05:09 | 8 min | On time |
Set it up in three steps
-
1
Create a job
Give it the same cron expression and time zone as in your server.
-
2
Add the calls to your crontab
Copy the line from the job page; it already has your token.
-
3
Resume monitoring
Choose how long to wait before an alert. Connect Slack if your team lives there.
Free for up to 2 jobs
Email and Slack alerts included.
Sign up for free