Hi Corrie.
I would seperate this into two parts.
First is if you have n_retrys set, I would recommend that you turn off alarm_if_fail, so you only get the MAX_RETRIES alarm if all the attempt fail. That will reduce the number of alarms in general.
You didn't include your jil, but I suspect you have something like:
send_notification: F
notification_template: "mail_input"
notification_emailaddress: email@address
notification_emailaddress_on_failure: email@address
notification_alarm_types: JOBFAILURE
If you want to send a job based on it's failure (Not JOBFAILURE alarm, it is different)
all you need is:
send_notification: F
notification_template: "mail_input"
notification_emailaddress_on_failure: email@address
Regards,
Mike