Cron and heartbeats

Cron Job Monitoring with Heartbeats

Cron job monitoring tells you when a scheduled task goes quiet. Your job sends a request to its own MonitoraWeb URL when it finishes; if that ping doesn't arrive within the window you set, the monitor goes down and your alert channels hear about it.

Frequently asked questions

Do I need to install an agent?

No. Your job only needs to make an HTTP request to its URL when it finishes, with curl, wget, or your language's HTTP client.

What happens if a heartbeat is late?

As long as it arrives before the interval plus the grace period runs out, nothing happens. If that window passes without a ping, the monitor goes down and you're alerted. When pings resume, the monitor recovers.

Can I report a failure even though the job ran?

Yes. Call the same URL ending in /fail and the job is marked as failed immediately, without waiting for the window to expire.

Does MonitoraWeb run my jobs?

No. Your jobs keep running on your own infrastructure. MonitoraWeb only waits for their check-ins.

Will you know if my backup is valid?

No. We know the process finished and checked in. Testing that a backup restores is a separate job, and it's worth scheduling one.

Can I monitor WordPress cron?

Yes, if your system cron pings the URL after running WordPress's scheduled tasks. For the site itself, see WordPress uptime monitoring.