# Your existing cron job
0 2 * * * /usr/local/bin/backup.sh # Add monitoring - ping after success
0 2 * * * /usr/local/bin/backup.sh && -weight: 500;">curl -fsS https://cronping.anethoth.com/ping/YOUR_TOKEN
# Your existing cron job
0 2 * * * /usr/local/bin/backup.sh # Add monitoring - ping after success
0 2 * * * /usr/local/bin/backup.sh && -weight: 500;">curl -fsS https://cronping.anethoth.com/ping/YOUR_TOKEN
# Your existing cron job
0 2 * * * /usr/local/bin/backup.sh # Add monitoring - ping after success
0 2 * * * /usr/local/bin/backup.sh && -weight: 500;">curl -fsS https://cronping.anethoth.com/ping/YOUR_TOKEN
# 1. Sign up
-weight: 500;">curl -X POST https://cronping.anethoth.com/api/v1/signup \ -H 'Content-Type: application/json' \ -d '{ "email": "[email protected]" }' # 2. Create a monitor
-weight: 500;">curl -X POST https://cronping.anethoth.com/api/v1/monitors \ -H 'Authorization: Bearer ch_xxx...' \ -H 'Content-Type: application/json' \ -d '{ "name": "nightly-backup", "schedule_minutes": 1440, "grace_minutes": 30 }' # 3. Add the ping to your cron job
0 2 * * * /usr/local/bin/backup.sh && -weight: 500;">curl -fsS https://cronping.anethoth.com/ping/xxx
# 1. Sign up
-weight: 500;">curl -X POST https://cronping.anethoth.com/api/v1/signup \ -H 'Content-Type: application/json' \ -d '{ "email": "[email protected]" }' # 2. Create a monitor
-weight: 500;">curl -X POST https://cronping.anethoth.com/api/v1/monitors \ -H 'Authorization: Bearer ch_xxx...' \ -H 'Content-Type: application/json' \ -d '{ "name": "nightly-backup", "schedule_minutes": 1440, "grace_minutes": 30 }' # 3. Add the ping to your cron job
0 2 * * * /usr/local/bin/backup.sh && -weight: 500;">curl -fsS https://cronping.anethoth.com/ping/xxx
# 1. Sign up
-weight: 500;">curl -X POST https://cronping.anethoth.com/api/v1/signup \ -H 'Content-Type: application/json' \ -d '{ "email": "[email protected]" }' # 2. Create a monitor
-weight: 500;">curl -X POST https://cronping.anethoth.com/api/v1/monitors \ -H 'Authorization: Bearer ch_xxx...' \ -H 'Content-Type: application/json' \ -d '{ "name": "nightly-backup", "schedule_minutes": 1440, "grace_minutes": 30 }' # 3. Add the ping to your cron job
0 2 * * * /usr/local/bin/backup.sh && -weight: 500;">curl -fsS https://cronping.anethoth.com/ping/xxx - Create a monitor with an expected schedule
- Your cron job pings the monitor after completing successfully
- If the monitor doesn't receive a ping within the expected window, fire an alert - Schedule: every 1440 minutes (24 hours)
- Grace period: 30 minutes
- Alert fires if no ping received within 24.5 hours of the last one - Always use && — only ping on success
- Use -fsS with -weight: 500;">curl — fail silently on network errors but show server errors
- Set realistic grace periods — too tight causes false alarms
- One monitor per job — don't reuse ping tokens