Regarding Autosys job alerts

@UnixNerd , I see you've asked on at least 1 other forum ( the forum rules request no cross posting Simple rules of the UNIX.COM forums: )

that aside, but with the dialog in the stackoverflow request, it appears that command: XXXXXXXX.sh is exiting with a 0 (success) status.
this needs to exit with a non-zero status for the alarm_if_fail: y
condition to be met such that an alarm is thrown.

you need to fix the check in your script that detects an error in the logs such that XXXXXXXX.sh exits with a non zero status.

I will not respond further whilst you have the stackoverflow request open

1 Like