Bacula-users

Re: [Bacula-users] cancel more than one job

2012-05-29 09:15:38
Subject: Re: [Bacula-users] cancel more than one job
From: Christian Manal <moenoel AT informatik.uni-bremen DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 29 May 2012 15:13:32 +0200
On 29.05.2012 14:58, Robert Kromoser wrote:
> Hi everybody.
> 
>  
> 
> When I change my Bacula configurations I have sometimes the problem,
> 
> that a list jobs show me 30 or more jobs with status running but I know,
> 
> they don't run, because the job date is some days ago. with cancel I
> 
> can only cancel one job after the other.
> 
>  
> 
> Exist there a possibility to cancel more than one job at a time?
> 
> E.g. cancel jobid=1500-1580
> 
> or
> 
> cancel jobid=1601, 1605, 1670,1678
> 
>  
> 
> BR Robert

Hi,

I don't think so. The quick and dirty workaround would be something like
this:

   for jobid in {1500..1580}; do
      echo "cancel jobid=$jobid"
   done | bconsole


Regards,
Christian Manal

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>