Cron Auditor is service which monitors your important cron jobs by listening pings on a unique endpoint.

When your cron job is failing, you'll be getting notified by email.

How to start monitoring?

  1. Log in into Cron Auditor, create job, set ping period and alert delay. You'll be provided with Ping Url.
  2. Append your crontab entry with Ping Url curl https://cron.alexlv.com/ping/be8379f1e790
  3. Done! When Ping Url is not requested for a period of time you've set, you'll be notified.

Note: You can use Cron Auditor for any scripts or daemons, you just have to send simple HTTP GET or POST request from your app.

Here are some snippets you can copy/paste into your scripts or crontab:

# m h dom mon dow command
0 * * * * /var/www/db_backup.sh && curl --fail --silent --show-error --max-time 10 https://cron.alexlv.com/ping/be8379f1e790 > /dev/null
#!/bin/sh

# using curl
curl --fail --silent --show-error --max-time 10 https://cron.alexlv.com/ping/be8379f1e790

# using wget
wget -q -T 10 https://cron.alexlv.com/ping/be8379f1e790 -O /dev/null
<?php

$pingUrl = 'https://cron.alexlv.com/ping/be8379f1e790';

// using file_get_contents()
file_get_contents($pingUrl);

// using curl
$ch = curl_init($pingUrl);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_exec($ch);
curl_close($ch);
const https = require('https');
https.get('https://cron.alexlv.com/ping/be8379f1e790');
import requests
pingUrl = 'https://cron.alexlv.com/ping/be8379f1e790'
requests.get(pingUrl, timeout=10)

GET STARTED