Tip: exit codes from pre-events

Questions about Cobian Reflector
Post Reply
Todd
Posts: 183
Joined: 01 Nov 2021, 23:30

Tip: exit codes from pre-events

Post by Todd »

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:
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>
HTH someone else,
-T
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Tip: exit codes from pre-events

Post by cobian »

:OK
--
Luis Cobian
Cobian Backup's creator
Post Reply