Send an email if the job fails to execute

This commit is contained in:
2022-05-24 17:40:19 +01:00
parent 27ea6697bf
commit 95ecc63db8
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{% block subject %}
{{site.title}} - JOB FAILED
{% endblock %}
{% block body %}
<p>
Dear Site Admins,
</p>
<p>
An error has occurred whilst trying to run a queued job. Please review the server error logs.
</p>
<p>
With regards,<br>
The {{site.title}} Team
</p>
{% endblock %}