nMon1 Help
DE Sign in Sign up for free
Help Monitor types

Heartbeat: cron jobs and backups

A heartbeat works the other way round: your job reports in. If the report is missing, you are notified.

  1. Add a check of type Heartbeat.
  2. Expected every (minutes): how often the job runs, e.g. 60 for hourly or 1440 for daily.
  3. Grace time (minutes): how long to wait for a late report, e.g. because the backup takes a variable time.
  4. The detail page shows the ping address. Call it at the end of the job:
0 3 * * * /usr/local/bin/backup.sh && curl -fsS "https://temedum-xuvul.185-94-252-101.webspace123.de/callback.php?key=YOUR_KEY"

With &status=failure you report an error immediately, without waiting for the grace time.

Didn't find an answer? Open a support ticket