Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] condor_rm
- Date: Thu, 25 May 2017 10:47:33 +0000
- From: Zach Miller <zmiller@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] condor_rm
Hello,
You want to use a constraint on the remove operation.
There is an attribute called âJobStatusâ.
1 == Idle
2 == Running
5 == Held
So, to remove all Idle jobs:
condor_rm -constraint '(JobStatus==1)'
(You didnât mention if you want to remove Held Jobs or not, so I didnât put that into the expression)
Cheers,
-zach
On 5/25/17, 5:37 AM, "HTCondor-users on behalf of Stefan Harjes" <htcondor-users-bounces@xxxxxxxxxxx on behalf of stefan.harjes@xxxxxxx> wrote:
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/