Ger Apeldoorn <g.apeldoorn <at> argoss.nl> writes: > > I've come across this too, I edit the schedule to do this. > > But it would be nice to have such a command! > > Ger > > > I haven't looked to see if this is already a feature or feature request, > > but it would be nice to have "job groups" so you could say: > > "run jobgroup=2" and have every job in that group fire off. > Hello all, I also need a way to "fire off" a bunch of jobs. In my case the back up operations are directed to tape. It is timely this thread was started as I am just now looking in to a method to batch one or more backup operations. The script below works without the loop. With the loop, the scripts fails with a "syntax error: unexpected end of file" error. If one of 'you' fine bash script programmers can overcome this and report your solution, we will all have a way to add batching opertions our bacula platforms.
Cheers, Bob #!/bin/sh # # This script will loop though a list of bacula tape jobs # and 'batch' or submit backup operations using # the bconsole client. # # Date: 06/29/2006 # # rleche at srcc.lsu.edu # for job-number in " 1 2 4 6 7 8 9 10 " do /etc/bacula/bconsole -c /etc/bacula/bconsole.conf <<END_OF_DATA messages run $job-number yes wait messages END_OF_DATA done exit 0 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users