{% 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 }}
Signal success or failure by sending an email message to {{ check.email }}.
Read more about pinging via email.