Monitor Any Linux Crontab or Backup Script in One Command.
Stop writing brittle curl chains in /etc/crontab. Wrap any command with alertondown cron <token> -- <command> to capture start signals, exact runtime, and non-zero exit codes automatically.
brew install dubeychandan996/tap/alertondown # or: npm i -g @alertondown/cli
# Install globally via npm or Homebrew: npm install -g @alertondown/cli # brew install dubeychandan996/tap/alertondown # Wrap any scheduled command — preserves stdout/stderr and exact exit code: 0 2 * * * alertondown cron hb_your_token -- pg_dump mydb > /backups/mydb.sql # Healthchecks.io / Cronitor curl URLs also work out of the box: # GET/POST https://alertondown.com/hb/<token>/start # GET/POST https://alertondown.com/hb/<token> # GET/POST https://alertondown.com/hb/<token>/fail (or /<exitCode>)
What you get with AlertOnDown + Linux Crontab, Docker & Systemd
Preserves Exact Exit Codes & Stdio
Your job logs stay intact and the wrapper exits with your wrapped command's exact exit status.
Healthchecks.io & Cronitor Compatible
Supports /start, /fail, and numeric /<exitCode> endpoints plus JSON/text stderr payloads.
Zero-Signup Terminal Waterfalls Too
Run alertondown check, ssl, dns, and rbl directly from any server shell with no API key.
Zero External Dependencies
Pure Node 20+ CLI (~8.5 KB tarball) with instant Homebrew and npx execution.
Linux Crontab, Docker & Systemd Integration FAQ
What happens if AlertOnDown is unreachable when my cron runs?
The CLI sends heartbeat telemetry on a best-effort basis and never aborts or alters the exit code of your wrapped cron job.
Can I also use pure curl without installing Node?
Yes. Every heartbeat monitor works with standard curl against /hb/<token>, /hb/<token>/start, /hb/<token>/fail, and /hb/<token>/<exitCode>.