On 06/14/11 21:17, Rodrigo Ferraz wrote:
> Hello
>
>
>
> Is there a way to cancel multiple running Jobs with bconsole?
Hi,
here is another one using the shell:
for fn in $(echo "s dir" | bconsole | awk '/waiting/ {print $1}') ; do
echo "cancel jobid=$fn" ; done | bconsole
This cancels all waiting jobs.
There is no limit choosing jobs using regex.
Cheers Jan
--
MAX-PLANCK-INSTITUT fuer Radioastronomie
Jan Behrend - Rechenzentrum
----------------------------------------
Auf dem Huegel 69, D-53121 Bonn
Tel: +49 (228) 525 359, Fax: +49 (228) 525 229
jbehrend AT mpifr-bonn.mpg DOT de http://www.mpifr-bonn.mpg.de
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|