[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] condor_rm
This is probably the simplest way:
condor_rm -const 'JobStatus==1'
From: HTCondor-users [htcondor-users-bounces@xxxxxxxxxxx] on behalf of Krieger, Donald N. [kriegerd@xxxxxxxx]
Sent: Thursday, May 25, 2017 11:43 AM
To: 'HTCondor-Users Mail List'
Subject: Re: [HTCondor-users] condor_rm
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.
Don Krieger, Ph.D.
Department of Neurological Surgery
University of Pittsburgh
> -----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
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx
> with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> The archives can be found at:
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
You can also unsubscribe by visiting
The archives can be found at: