cron snippet (Linux / macOS) bash
One-line crontab entry that runs heartbeat.sh every 5 minutes. Add via `crontab -e`.
Placeholders only. Before running, replace
YOUR_URL with your capture endpoint's POST URL
.
(Open this page from your capture object to have these auto-filled.)
# Every 5 minutes — site1.erralert.com heartbeat. # Output silenced; failures still surface via capture.freshness on the server. */5 * * * * /opt/alerts/heartbeat.sh > /dev/null 2>&1
Recommended pairing
Add a capture.freshness check to this capture object.
Pair with max_silence ~10 min so a single missed cron pass still alerts.
What is the filename?
crontab-snippet.txt — this is the suggested name for the downloaded file. Rename freely if you prefer.
site1.erralert.com