Monitoring

    Heartbeat & Cron Job Monitoring

    Monitor cron jobs, background tasks, and scheduled scripts with ping URLs.

    Updated 2026-03-23
    1 min read
    heartbeat
    cron
    ping

    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#

  1. Go to Heartbeats in the sidebar
  2. Click Create Monitor — give it a name, set the expected interval and grace period
  3. Copy the unique ping URL
  4. Add \curl -fsS --retry 3 https://lemwatch.com/api/heartbeat/your-slug > /dev/null\ to the end of your script
  5. Configuration#

  6. Expected Interval: How often your job should run (1 min to 24 hours)
  7. Grace Period: Extra time before we alert (handles natural timing variance)
  8. Status: Up (pinging on time), Down (missed ping), Pending (never pinged)
  9. Use Cases#

  10. Cron jobs and scheduled tasks
  11. Database backup scripts
  12. Data pipeline stages
  13. Kubernetes liveness probes
  14. CI/CD pipeline completion checks
  15. Was this article helpful?