[EMAIL PROTECTED] wrote:
> Hi,
> 
> So, I had a problem with Bacula (actually I just forgot to feed it some
> tapes). A few days worth of jobs piled up, and it made a big mess with all
> of the snapshots each job runs, so I just restarted Bacula to kill all of
> the jobs.
> 
> So, now I want to run all of my scheduled jobs that should have ran on
> Sunday (my monthly schedule). Is there a way to run a group of jobs that
> are in a schedule all at once? I'm hoping there is an easier way then
> doing a 'run' for all 50 jobs in bconsole.

shell script:

JOBNAMES="a b c"
for job in $JOBS
do
        echo "run job=$job yes" | bconsole
done

Not tested but you get the idea.



-- 
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:    http://www.pgcon.org/

-------------------------------------------------------------------------
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

Reply via email to