[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] condor_rm



Hi Stefan,

I've written a script which grabs a list of all the jobs which fit a search criterion, e.g. grep " I " for idle jobs.
I places the ID numbers in a list and then goes through the list and condor_rm's each one.
There's almost certainly a better way but this works.

Hope this helps.

Best regards,
 
Don
 

Don Krieger, Ph.D.
Department of Neurological Surgery
University of Pittsburgh
(412)648-9654 Office
(412)521-4431 Cell/Text

> -----Original Message-----
> From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On
> Behalf Of Stefan Harjes
> Sent: Thursday, May 25, 2017 6:38 AM
> To: htcondor <htcondor-users@xxxxxxxxxxx>
> Subject: [HTCondor-users] condor_rm
> 
> Hi htcondor users,
> 
> I checked all the cheat sheets and found it quite hard to come up with a
> command to condor_rm all idle jobs, but leave the running jobs running.
> Any hint would be welcome
> 
> Regards
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx
> with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/