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.

Automation Latvia 2026.11.30 0 views
4pts
Advertisement

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

A ping on time is healthy; silence past the grace period alerts Scheduled job backup, sync or report script Heartbeat ping calls its URL on success Timeout alert nothing past the grace period Check settings: period · grace · consecutive failures · timezone Channels: email · webhook · Slack · SMS and phone calls by plan
Figure 1: Heartbeat ping and timeout alert (scope: official documentation, 2026-11)

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

Free covers 20 checks; paid tiers add checks and notification credits Hobbyist · free 20 checks 100 log entries per check email and webhook alerts Supporter · USD 5/mo same quota as free funds the project no extra checks Business · USD 20/mo 100 checks 1,000 log entries each SMS and call credits Business Plus USD 80/month 1,000 checks more SMS and calls Annual billing saves 20%: Business USD 192/year, Business Plus USD 768/year (scope: healthchecks.io/pricing, USD, 2026-11)
Figure 2: Tiers by number of checks (scope: healthchecks.io/pricing, USD, 2026-11)

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

Visit Healthchecks.io Website → https://healthchecks.io/
Visit Website ↗