Page 1 of 1

Executing Unix script in Execute stage of Sequence

Posted: Fri Oct 12, 2012 2:15 pm
by vishu19aug
Hi,

I am using the 'execute stage' of sequence and running a invoking a shell script in this. The script failed -
xxxx_Trend..JobControl (@execute_send_mail_script): Executed: /opt/app/abc.sh "vg189d@xx,com" "11-OCT-2012" "04-aug-2012" "27-aug-2012" "20-SEP-2012"
Reply=127
Output from command ====>
SH: /opt/app/abc.sh: No such file or directory

but still the sequence said -
11:56:51: execute_send_mail_script finished, reply=127
11:56:51: Sequence finished OK

How can the error be captured in sequence? Please help

Thanks,
Vishal

Posted: Fri Oct 12, 2012 3:09 pm
by chulett
Sure, that can be handled by a specific trigger from the stage to your failure processing or you can enable "Automatically handle activities that fail" in the Sequence.