On 2/10/08, Mark Maas <[EMAIL PROTECTED]> wrote: > Hi List, > > I was wondering how I could force cancelling of jobs after "x" hours of > scheduled time if they have not started yet.? > What I also tried was the "Max Wait Time" option in my jobs, but it seems it > only starts counting from the start of the job, not from start of scheduled > time. > > "Max Start Delay" is also not completely what I was looking for, it comes > close, but only applies when other jobs are running. Not when everything is > waiting for a tape/volume to be inserted. > > So to summarize, I'd like to schedule a few jobs from 23:00. And have them > automaticly cancelled at 08:00 in the morning when they still do not have a > correct volume to backup to. > > When the operator simply forgot the tape, then the backup for that night > should simply be skipped. The period of time in which the backup was > possible has passed. > > Is this possible? > > Thanks, > Mark >
Anything is possible. Sounds to me you could just simply write a script that either uses the bconsole commands to query the info and act upon the info returned or found. Or you could write a script that checks and directly accesses the database to find any jobs that are still pending, if it's beyond the time specified, then cancel the job, etc. Be creative. If you're not sure how to script, better start there first though.. ;) -Drew ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users