Hello, Recently, several users have asked if a Run After Job fails whether or not the job will be terminated in error. The correct answer is no, the job will terminate normally, but a warning message will be printed in the job report. The documentation was incorrect.
Another more important point that has been brought up is how users can guarantee that their Run After Job script is unconditionally run so they can restart their database after shutting it down in the Run Before Job script. The answer is: the Run After Job is run only when the job terminates normally, but you may also define a "Run After Failed Job" that will be run if the job terminates with any error. If both the directives are specified and they specify the same script, your script will then be unconditionally called. If you wish to know the exit status, you can pass it as one of the edit codes on the command line. Best regards, Kern ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users