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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|