PROVIDER - Cron Dead-Man Switch
Healthchecks.io
Healthchecks.io alerts when a scheduled job misses its deadline: jobs ping a URL on success and the service watches for silence, with grace periods, consecutive-failure rules and status pages.
4pts
Service Overview
Healthchecks.io monitors scheduled jobs as a dead-man switch: a job pings its own URL when it finishes, and if nothing arrives by the due time plus the grace period, the service raises an alert. It catches the case service-uptime monitoring misses, where the site is up but the nightly batch never ran.
The product runs as a hosted service and as a BSD-licensed self-hosted build. Hosted plans tier by monitored jobs, starting with 20 on the free tier; self-hosting keeps data inside your network. Alerts cover email, webhooks, Slack, SMS and phone calls.
Key Strengths
- Silence-based detection catches crashed jobs, hung processes and lost hosts that uptime probes miss.
- Grace periods absorb normal runtime variance, so short delays do not page anyone.
- Consecutive-failure thresholds stop single blips from waking on-call staff.
- Each check carries a status page and history, useful when showing clients or teammates.
- The open-source build self-hosts, while the free hosted tier covers small setups at no cost.
Limitations
- Job scripts need a small change to ping on success, so untouchable black-box jobs cannot be covered.
- It verifies that a job ran, not that its business result was correct.
- Hosted pricing follows job count, so cost grows with every new check.
- Self-hosting means running the database, web service and mail delivery yourself.
- SMS and phone alerts are outside the free tier.
Product Ecosystem
This monitoring waits for the job to report instead of probing it: a successful run pings once and the platform only asks whether it arrived on time. That covers batch work with no public port and catches silent crashes.
Checks and thresholds
Each check sets a period and grace window that absorbs normal runtime variance. Raising the consecutive-failure threshold keeps occasional blips from paging anyone.
Reporting methods
Jobs hit their URL with any HTTP client, including POST and failure reports, or use official integrations and container entry hooks. Placing the ping at the end of the script is the common pattern.
Notifications and status pages
Channels follow the plan, with email and webhooks on the free tier. Status pages can be public or private, which helps show service health to clients.
Self-hosting and data location
The open-source build runs inside your network so data never reaches a third party. Self-hosting needs a database and SMTP, with upgrades and backups owned by the team; callbacks follow webhook signature verification.
Use Cases
- Good fit|Critical cron jobs: verify that backups, reconciliation and sync actually ran.
- Good fit|Batch work without open ports: jobs that cannot be probed still report.
- Good fit|Showing clients status: status pages add transparency to a service.
- Good fit|Data that must stay internal: the self-hosted build meets localisation needs.
- Evaluate|Untouchable third-party jobs: they must be able to send one request.
- Evaluate|Verifying business results: the service only covers execution.
- Evaluate|Hundreds of checks on a budget: per-check pricing adds up.
Plans & Free Tier
Hosted plans price by check count, with paid tiers unlocking more checks, longer logs and SMS or call credits.
| Plan | Reference price | Included quota | Key capabilities |
|---|---|---|---|
| Hobbyist | free | 20 checks, 100 log entries each | email and webhook alerts, status pages, integrations and API |
| Supporter | $5/month | same as free | supports the project, no extra checks |
| Business | $20/month ($192/year) | 100 checks, 1,000 logs each, 50 SMS/WhatsApp, 20 calls | email support, longer log retention |
| Business Plus | $80/month ($768/year) | 1,000 checks, 500 SMS, 100 calls | priority email support, for large job portfolios |
| Self-hosted | free software | checks limited by your infrastructure | BSD licence, data stays internal, own database and mail |
FAQ
- Do job scripts need changes? They need one HTTP ping, usually at the end of a successful run, and can also report failure explicitly. Jobs that cannot be modified only support external uptime probing, which cannot tell whether the batch finished.
- How should the grace period be set? Match the variance of normal runtime, so a ten-minute report can allow half an hour. Too short causes false pages and burns on-call attention, too long delays detection; start wide, watch a week of durations, then tighten.
- How is this different from uptime monitoring? Uptime probes ask whether a site responds, an outside view; heartbeat checks have the job report itself, which catches a healthy site next to a batch that never ran. They complement each other, and pairing site monitoring with key job checks is common.
- What does self-hosting need? A host, a database and a way to send mail, deployed per the docs behind a reverse proxy. The team owns upgrades and backups, which suits networks where data cannot leave or where many checks would make hosted pricing costly.
Integration & Code Examples
Ping at the end of a job script
#!/usr/bin/env bash
set -euo pipefail
# backup body; set -e exits before the ping if anything fails
pg_dump -Fc shop > /backup/shop-$(date +%F).dump
# report success once, with the URL and key from environment variables
curl -fsS -m 10 --retry 3 "https://hc-ping.com/${HC_UUID}" > /dev/null
Create a check through the API
# every six hours, 30 minute grace, alert after two consecutive failures
curl -s -X POST "https://healthchecks.io/api/v3/checks/" \
-H "X-Api-Key: ${HC_API_KEY}" -H "Content-Type: application/json" \
-d '{"name":"nightly-backup","period":21600,"grace":1800,"failure_kind":"consecutive","failure_threshold":2}'
Community & Resources
- Healthchecks.io website — features, integrations and signup
- Pricing — free and paid check and notification quotas
- API documentation — managing checks and pings
- Self-hosting guide — deploying and upgrading the open-source build
- GitHub repository — BSD source, issues and releases
- Integrations — hooking into common job tools
Articles
- 01 Video SEO for Google Search and YouTube 07-18
- 02 Triggered Email Design: Events, Eligibility, and Frequency 07-18
- 03 Online Form Builder Comparison 11-26
- 04 Cold email costs: volume, warm-up and re-domaining 07-18
- 05 Email Bounce Causes and Responses 07-18
- 06 E-Signature and Contract Cost Structure 07-18
- 07 Choosing Free Mailbox and Sending Quotas 11-26
- 08 Community Forum Ownership: Hosted Service or Own Server 11-26
- 09 Cookie Consent Platform Selection 11-26
- 10 Choosing Team Messaging for China-Based Teams 11-26