----- "Drew Bentley" <[EMAIL PROTECTED]> wrote: > On 2/10/08, Mark Maas <[EMAIL PROTECTED]> wrote: > > I was wondering how I could force cancelling of jobs after "x" hours > of > > scheduled time if they have not started yet.? > > 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.. ;)
Hehe, yeah sure, a bit SQL could do this for me. But I've never really liked that way of "solving" things. Such things are better left to the software Best reason would be that my "solution" may very likely brake with the next update of the software. So I keep trying to solve this within Bacula configs. If not, yes indeed i'll use the python interfacing I guess. Thanks, Mark ------------------------------------------------------------------------- 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