Op 2013-03-04 om 02:44 schreef Dan Langille: > I discovered this clever idea this morning. Say you want to cancel a few > jobs. Here's an easy way: > > *cancel > Select Job: > 1: JobId=122926 Job=gelt.2013-03-03_05.55.03_02 > 2: JobId=122927 Job=gelt_freshports_dev.2013-03-03_05.55.03_03 > 3: JobId=122928 Job=gelt_wordpress_websites.2013-03-03_05.55.03_04 > 4: JobId=122930 Job=nyi_basic.2013-03-03_05.55.03_06 > [snip] > 36: JobId=122968 Job=kraken.2013-03-03_18.00.51_46 > 37: JobId=122969 Job=ngaio.2013-03-03_18.00.52_47 > 38: JobId=122971 Job=nyi_maildir.2013-03-03_22.00.00_51 > 39: JobId=122972 Job=dent.2013-03-03_23.30.00_53 > 40: JobId=122973 Job=nyi_maildir.2013-03-04_00.00.00_54 > Choose Job to cancel (1-40): . > Selection aborted, nothing done. > > You abort out of that, and then you can copy/cancel the JobId= text from > above, like this: > > *cancel yes JobId=122973 > JobId 122973, Job nyi_maildir.2013-03-04_00.00.00_54 marked to be canceled. > *cancel yes JobId=122971 > JobId 122971, Job nyi_maildir.2013-03-03_22.00.00_51 marked to be canceled. > You have messages. > * > > I find this much easier than scanning the cancel list multiple times and > entering the number. >
Thank you for the tip. I want to share another. It is about canceling multiple jobs. Execute from shell for i in {17..21} ; do echo cancel yes jobid=404${i} | bconsole ; done Five jobs, 40417-40421, will be canceled. Cheers Geert Stappers -- http://www.vanadcimplicity.com/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users