Heartbeat & Cron Job Monitoring
Monitor cron jobs, background tasks, and scheduled scripts with ping URLs.
Heartbeat & Cron Job Monitoring#
Heartbeat monitoring works in reverse — instead of us checking your service, your service pings us. If we stop hearing from it, we know something is wrong.
How It Works#
curl -fsS --retry 3 https://lemwatch.com/api/heartbeat/your-slug > /dev/null\ to the end of your scriptConfiguration#
Use Cases#
Related Articles
Gzip / Brotli compression check
Verifies your server compresses HTML, CSS, JS, and JSON responses — up to 80% payload reduction that costs nothing to enable.
Cache-Control header check
Grades your Cache-Control headers on static assets, HTML, and API responses — bad caching is a leading hidden cause of slow LCP.
How do I monitor a JSON API endpoint?
Add any HTTP endpoint under API Monitoring and Lemwatch checks status code, response time, and optional JSON body assertions every minute.
How does API endpoint degradation alerting work?
Lemwatch compares each endpoint's current response time against a rolling 24-hour baseline and alerts when it degrades by 2× or more.