Skip to content
Skip to content

💓 Cron Monitor

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

Create Heartbeat Monitor Free plan includes 3 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

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.

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.