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

Re: [HTCondor-users] Not able to remove selected jobs from queue via python bindings



Hi Todd,
          ThanksÂso much for yourÂhelp! I am able to achieve this.

Thanks,
Gagan

On Thu, Jan 5, 2023 at 1:02 AM Todd L Miller via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:
> # Remove more than one cluster with a single call. Note that `clusterIDs`
> # is a string in the ClassAd list syntax.
> clusterIDs = "{7, 8, 9}"
> result = schedd.act(
>Â Â Â Âhtcondor.JobAction.Remove,
>Â Â Â Âf'Owner == member( ClusterID, {clusterIDs} )'
> )

    This is wrong; sorry. Try

  Âf'member( ClusterID, {clusterIDs} )'

instead.

- ToddM
_______________________________________________
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/