Bacula-users

Re: [Bacula-users] Question about runbeforejob

2013-06-14 22:35:06
Subject: Re: [Bacula-users] Question about runbeforejob
From: Bill Arlofski <waa-bacula AT revpol DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 14 Jun 2013 22:29:35 -0400
On 06/14/13 14:49, Jonathan Bayer wrote:
> The manual states the following:
> 
>     Run Before Job = <command> The specified command is run as an external
>     program prior to running
>     the current Job. This directive is not required, but if it is defined, and
>     if the exit code of the program
>     run is non-zero, the current Bacula job will be canceled.
> 
> 
> 
> So when a job is canceled, is it reported as an error?  I need to know because
> I'm thinking about using this mechanism to control job schedules, but if it is
> reported as an error then our reports will also show errors, which we don't
> want to do since we show them to upper management.
> 
> Thanks in advance


Jonathan, yes it will be reported as an error, which will mess with your 
reports.


-- 
Bill Arlofski
Reverse Polarity, LLC
http://www.revpol.com/
-- Not responsible for anything below this line --

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>