[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



# 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