Never let a cron silently fail again.
Crons are often forgotten until the day we discover they haven't run for weeks.
With MoniTao Heartbeat, your crons signal their successful execution. No signal = alert.
Crons can stop working silently for many reasons:
With MoniTao, your cron signals its execution at the end of each run. No signal = alert.
Add a curl at the end of your crontab:
# Exemple de cron avec heartbeat MoniTao
*/5 * * * * /usr/bin/php /var/www/app/cron/cleanup.php && curl -X POST https://monitao.com/api/heartbeat/ping/YOUR_TOKEN -H "Authorization: Bearer YOUR_SECRET"
# Avec gestion d'erreur
*/5 * * * * /usr/bin/php /var/www/app/cron/cleanup.php && curl -X POST https://monitao.com/api/heartbeat/ping/YOUR_TOKEN -H "Authorization: Bearer YOUR_SECRET" || curl -X POST https://monitao.com/api/heartbeat/fail/YOUR_TOKEN -H "Authorization: Bearer YOUR_SECRET"
The interval should match your cron frequency (e.g., 24h for a daily cron).
Use the /fail endpoint to explicitly signal a failure and receive an alert.
Yes, create a separate heartbeat job for each cron to monitor.
The HTTP ping takes a few milliseconds, negligible for most crons.
Start free, no credit card required.