I guess we should create a feature request about it :) -- Silver
On 09/17/2015 09:19 AM, Silver Salonen wrote: > Hi all Bacula enthusiasts! > > According to my knowledge the RunScript parameter and its derivatives > check only whether the command returns zero or non-zero value. > > What I'd like to do is to make the Job handle different return values, > eg: > - 0: OK, run the job > - 1: ERR1: fail the job > - 2: ERR4: fail the job, use different Messages resource > - 3: ERR2: cancel the job > - 4: ERR3: cancel the job, use different Messages resource > - 5: WARN: continue, but use different Messages resource (to write > something additional in the e-mail notification) > > Any clever ideas how to achieve this? :) > > -- > Silver ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users