{% extends "base.html" %} {% load compress hc_extras humanize staticfiles %} {% block containers %}

Cron Monitoring. Get Notified When Your Cron Jobs Fail.

Make a HTTP GET request to this address from your cron job, daemon, script or long running task. When this address is not requested for a set time period, you will get alerted. Below are snippets that are ready to be copy/pasted into your own scripts.

Here's a unique ping address for you:

{% include "front/snippets/crontab.html" %}
{% include "front/snippets/bash_curl.html" %} {% include "front/snippets/bash_wget.html" %}
{% include "front/snippets/python_urllib2.html" %} {% include "front/snippets/python_requests.html" %}
{% include "front/snippets/ruby.html" %}
{% include "front/snippets/node.html" %}
{% include "front/snippets/php.html" %}
{% include "front/snippets/browser.html" %}
{% include "front/snippets/powershell.html" %} {% include "front/snippets/powershell_inline.html" %}

As an alternative to HTTP/HTTPS requests, you can "ping" this check by sending an email message to {{ check.email }}

{% if registration_open %}

E-mail Address to Receive Alerts:

{% csrf_token %}
@
{% endif %}

A quick peek of what's inside:

My Checks page

A list of your checks, one for each Cron job, daemon or periodically running task you want to monitor.

Give names to your checks to easily recognize them later. Adjust Period and Grace time to match the periodicity and duration of your tasks.

Period/Grace Time dialog
Each check has configurable Period and Grace Time parameters. Depending on these parameters and time since the last ping, the check is in one of the following states:
New. A check that has been created, but has not received any pings yet.
Up. Time since last ping has not exceeded Period.
Late. Time since last ping has exceeded Period, but has not yet exceeded Period + Grace.
Down. Time since last ping has exceeded Period + Grace. When check goes from "Late" to "Down", {% site_name %} sends you a notification.
Cron dialog

Alternatively, you can define the expected ping dates and times using a cron expression. See Cron Syntax Cheatsheet for the supported syntax features.

Grace Time specifies how "late" a ping can be before you will be alerted. Set it to be a little above the expected duration of your cron job.

Channels page

You can set up additional ways to get notified:

{% if enable_sms %} {% endif %} {% if enable_pushover %} {% endif %} {% if enable_pushbullet %} {% endif %} {% if enable_telegram %} {% endif %} {% if enable_pd %} {% endif %} {% if enable_discord %} {% endif %}
Email icon Good old email messages.
Email icon SMS text messages.
Webhook icon HTTP webhooks.
Slack icon Notifications in Slack channel.
Pushover icon Instant push notifications with Pushover.
Pushbullet icon Instant push notifications with Pushbullet.
Telegram icon Notifications to a Telegram group or user.
PagerDuty icon Open and resolve incidents in PagerDuty.
PagerTree icon Open and resolve incidents in PagerTree.
HipChat icon Notifications in HipChat channel.
VictorOps icon Open and resolve incidents in VictorOps.
Discord icon Notifications in Discord channel.
OpsGenie icon Open and resolve incidents in OpsGenie.
{% if registration_open %} {% endif %}
{% endblock %} {% block scripts %} {% compress js %} {% endcompress %} {% endblock %}