{% load hc_extras %}
# A sample crontab entry. Note the curl call appended after the command.{% if not schedule %}
# FIXME: replace "* * * * *" below with the correct cron expression!{% endif %}
# FIXME: replace "/your/command.sh" below with the correct command!
{{ schedule|default:"* * * * *" }} /your/command.sh && curl -fsS -m 10 --retry 5 -o /dev/null {{ ping_url }}
# Here's the part you need to append, provided here separately for easy copy/pasting:
&& curl -fsS -m 10 --retry 5 -o /dev/null {{ ping_url }}
As an alternative to HTTP/HTTPS requests,
you can "ping" this check by sending an
email message to
{{ check.email }}