Send an email if the job fails to execute
This commit is contained in:
16
templates/mail/job-failed.html.twig
Normal file
16
templates/mail/job-failed.html.twig
Normal 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 %}
|
||||
Reference in New Issue
Block a user