A heartbeat monitor watches a scheduled job such as a cron job or backup. Create one under Heartbeats, then have your job call its unique ping URL on every run. If the expected ping does not arrive within the grace window, Uptimewolf alerts you that the job failed to run.
Working with heartbeats
What is a heartbeat monitor?
A heartbeat monitor watches a scheduled job. The job pings Uptimewolf each time it runs; if the expected ping does not arrive within the grace window, Uptimewolf alerts you that the job failed to run.
How do I create a heartbeat?
Open Heartbeats and create a new heartbeat. You receive a unique ping URL to call from your job.
How do I send a heartbeat ping from a cron job?
Add a request to the heartbeat URL at the end of your job - for example a curl call after your backup script - so Uptimewolf is pinged every time the job completes successfully.
When should I use a heartbeat instead of an uptime monitor?
Use a heartbeat for tasks that run in the background and have no public endpoint to check - scheduled jobs, batch workers and backups. Use an uptime monitor for anything reachable over HTTP or a port.
Still need a hand? Email [email protected] - or start your free 5-day trial and try it as you read.