git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4708
91ce42f0-d328-0410-95d8-
f526ca767f89
FileSet = FS_TESTJOB
MaxStartDelay = 30sec
Pool = PoolA
- # TODO: il faut un when=
+ Runbeforejob = "/bin/echo NEVER start this"
}
Job {
rstat=1
fi
-if grep -q -e 'RUN_MAXSTARTDELAY.* Fatal error: Job canceled because max start delay time exceeded.' tmp/RUN_MAXTIME.log
+if grep -q -e 'RUN_MAXSTARTDELAY.* Fatal error: Job canceled because max start delay time exceeded.' tmp/RUN_MAXTIME.log &&
+ ! grep -q -e 'NEVER start this' tmp/RUN_MAXTIME.log
then
[ "$debug" = 1 ] && echo MAXSTARTDELAY ok
else