Healthchecks.io emails me when my automation jobs don't run
We all “should” have scheduled backups running, and sometimes other automated tasks as well. In some cases you may see an error popup, but often it is just an e-mail to say the task has run.
The problem is often we don't bother to check that daily e-mail properly, or we don't miss one of the e-mails out of the five that arrive daily for different tasks.
This is where open source Healthchecks.io comes in. It is an online service for monitoring regularly running tasks such as cron jobs. It uses the Dead man's switch technique: the monitored system must “check in” with Healthchecks.io at regular, configurable time intervals. When Healthchecks.io detects a missed check-in, it sends out alerts.
Whilst you can self-host it with unlimited functionality, it can be a concern if your own hosting goes offline. They do have a generous 20 checks plan which you can use for free though to monitor from outside your services.
It is as simple as creating a check, getting the unique link for that check, and appending a command string at the end of any cron commands, or in a bash script you may be running.
I'm still in the process of tweaking mine, but I'm hoping to move away from the 5 daily mails I get after cron jobs have run, and rather now only receive a mail when there is a problem to be looked at. Healthchecks.io can now classify HTTP pings from clients as start, success, or failure signals by looking for specific keywords or phrases in the HTTP request body.
They've been going for 10 years now, with over 40,200 free accounts, and just under 51 million pings per day. Luckily they have paid accounts bringing in over US$18,300 monthly to sustain the business (hosting costs real money).
See
or their site at
#technology #opensource #monitoring

XDA
Healthchecks.io emails me when my automation jobs don't run
This monitoring tool alerts you instantly when your critical automation jobs fail silently.

Healthchecks.io
Healthchecks.io – Cron Job Monitoring
Simple and efficient cron job monitoring. Get instant alerts when your cron jobs, background workers, scheduled tasks don






