We use ems-cmd to trigger tasks in the correct order on EM-server.
When a task that’s triggered in that way fails, no email is sent from the server.
Is there a way to get mails for failed tasks that were triggered by ems-cmd without having to put the mail action in every morph-file ?
Currently, the email notifications are only sent for scheduled tasks. If a task was triggered by some other way besides the scheduler and failed, no notification is sent automatically.
I solved it by listing all task details with ems-cmd filtering the tasks with a status Failed en sending an email using email action if there are failed tasks.