Skip to content

💓 Cron Monitor

Dead man's switch for cron jobs — get alerted when your scheduled tasks stop running

TL;DR:

Heartbeat Monitor — dead-man's-switch for cron jobs and scheduled tasks. Your cron shells into an Enterno URL on every run; if pings stop for longer than the configured grace period — alert in Telegram/Slack. Simple and reliable.

Create Heartbeat Monitor Scout plan includes 5 monitors

How it works

1

Create a monitor

Set check type to "Heartbeat" in your dashboard. Choose the expected interval (e.g. every 5 minutes).

2

Ping the URL

Add a simple HTTP request at the end of your cron job, script, or pipeline. Any method (GET/POST/HEAD) works.

3

Get alerted

If a ping is missed, you'll get instant alerts via Telegram, email, Slack, or webhook.

Integration examples

Crontab

*/5 * * * * /usr/bin/backup.sh && curl -fsS --retry 3 https://enterno.io/api/heartbeat/YOUR_TOKEN

Bash script

#!/bin/bash
# Your task here
python3 /app/etl.py

# Report success
curl -fsS https://enterno.io/api/heartbeat/YOUR_TOKEN

PHP

// After your task completes:
file_get_contents('https://enterno.io/api/heartbeat/YOUR_TOKEN');

Python

import requests
# After your task completes:
requests.get('https://enterno.io/api/heartbeat/YOUR_TOKEN')

Docker / CI/CD

# At the end of your pipeline step:
wget -q -O /dev/null https://enterno.io/api/heartbeat/YOUR_TOKEN

Use cases

🛠

Cron jobs

Backups, cleanups, data sync, report generation

🚀

CI/CD pipelines

Build, test, and deploy pipelines

📊

ETL & data jobs

Data pipelines, imports, exports, transformations

🤖

Background workers

Queue processors, daemon health checks

Dead man's switchAlert when job goes silent
Flexible Grace PeriodAllowed ping latency window
REST API PingSingle GET confirms liveness
Cron + CI + ScriptsFor any periodic task

Why teams trust us

1min
min interval
Email
Telegram + Email alerts
HTTP
ping endpoint
Scout
5 monitors free

How it works

1

Create heartbeat

2

Ping URL from cron

3

Get alert on miss

What is Heartbeat Monitoring?

A heartbeat monitor is a "reverse monitor": instead of us polling the service, the service signals us that it's alive. If no signal arrives within the set interval — we send an alert.

Simple Integration

One GET request to a unique URL — and the monitor knows the job completed.

Grace Period

Set an acceptable ping delay to avoid false alerts.

Smart Notifications

Email and Telegram on missed ping. Repeated alert if silence continues.

Execution History

Full ping log with timestamps — see every job execution.

Who uses this

DevOps

cron job monitoring

Developers

background worker check

Sysadmins

dead man's switch

Business

payment queue monitoring

Common Mistakes

No grace periodWithout grace period, any minor delay triggers a false alert.
Pinging before task startsPing at the end of the task — it confirms successful completion, not just start.
One URL for different tasksCreate a separate monitor for each cron job — otherwise you won't know which one failed.
Not pinging on errorIf the task fails — don't ping. Missing ping = failure signal.

Best Practices

Ping at the very endMake the heartbeat URL call the last command in the script.
Use curl in croncurl -s https://enterno.io/api/heartbeat/TOKEN — simple and reliable.
Set grace = 20–30%If the job takes 5 min, grace period = 1–2 min on top.
Cover all critical jobsBackups, report generation, data sync — all should have a heartbeat monitor.

Start monitoring cron for free

Heartbeat monitor: 5 tasks free, Telegram and email alerts on missed runs.

Sign up free

Website Uptime Monitoring

Heartbeat is an uptime monitoring service that regularly checks your website and instantly notifies you of outages. Monitoring runs every 1-5 minutes from our server in Russia. When downtime is detected, you receive a notification via Telegram or email.

Monitor your websites 24/7 with checks every 1 to 60 minutes. Supports HTTP/HTTPS (with status code and keyword validation), TCP port checks, and ICMP ping. Receive instant alerts via Telegram bot and email when your site goes down or recovers.

Create public status pages with embeddable badges to show uptime to your customers. Combine with SSL monitoring to get alerts before certificates expire, and health scoring for comprehensive website analysis. All monitoring runs from a server in Russia.

Learn more

Frequently Asked Questions

What is heartbeat monitoring?

Heartbeat monitoring is a way to check cron jobs and background processes using a "dead man's switch" principle. Your service periodically sends a signal (heartbeat). If the signal does not arrive on time, you receive a notification.

What is a Dead Man's Switch?

A Dead Man's Switch is a mechanism that triggers on inactivity. In monitoring: if your cron script stops sending heartbeat signals within a set time, the system considers it down and sends an alert.

How to monitor cron jobs?

Create a heartbeat monitor in Enterno.io, get a unique URL. Add a call to this URL at the end of your cron script: curl -s URL. If the script fails to run, the heartbeat will not arrive and you will receive a notification.

What heartbeat interval to choose?

The interval should match the cron job schedule plus a buffer (grace period). Example: cron every 5 minutes — heartbeat 5 minutes + grace 2 minutes. Cron hourly — heartbeat 60 minutes + grace 10 minutes.

What is a grace period?

Grace period is additional wait time after a missed heartbeat before sending an alert. It prevents false alarms during brief delays in cron job execution.

How does heartbeat differ from uptime monitoring?

Uptime monitoring checks server availability externally (our server pings yours). Heartbeat monitoring waits for an internal signal (your server reports to us). Heartbeat is ideal for cron jobs, workers, backups — processes without an external URL.

Related guides

Longer-form reading on this topic from the knowledge base.

Dead man's switch for cron

Each job pings a URL — if it stops, you get alerted. Works for backups, cron, CI pipelines.