Hi All,
In Reflector, if you have checked:
Tools (pull down), Options, Engine: Analyze exit code for "Execute and wait" events
and
Task (pull down), Edit Task, Events: Cancel the task if some event fails
then Reflector will stop the task is something other than "0" is returned from your Pre-Event.
Now my customers refuse to read the pop ups I send them when something is wrong and they also refuse to read Reflector's eMailed logs. But since I also have Reflector's logs eMailed to me, if my pre-event gives me a unique return code for a failure, then I can figure out what went wrong with the pre-event.
This from my help file on one of my pre-events:
-T
In Reflector, if you have checked:
Tools (pull down), Options, Engine: Analyze exit code for "Execute and wait" events
and
Task (pull down), Edit Task, Events: Cancel the task if some event fails
then Reflector will stop the task is something other than "0" is returned from your Pre-Event.
Now my customers refuse to read the pop ups I send them when something is wrong and they also refuse to read Reflector's eMailed logs. But since I also have Reflector's logs eMailed to me, if my pre-event gives me a unique return code for a failure, then I can figure out what went wrong with the pre-event.
This from my help file on one of my pre-events:
HTH someone else,Show exit codes? (y/n) y
Normal Exit = <0>
Unknown Exit = <1>
Insufficient Drive Space = <2>
First Archive Still Exists = <3>
Rotate Prune Failed = <4>
Help Called = <5>
No Parameters = <6>
-T
Statistics: Posted by Todd — 02 Mar 2024, 06:45