{code} condor_status -constraint 'SlotID==1' -format "%s\n" Name {endcode} + +And, you can have condor do most of the work for you in generating the +above submit file: + +{code} +> cat <<EOF > runit.sub +universe = vanilla +executable = X +requirements = TARGET.name == MY.TargetSlot + +EOF + +> condor_status -constraint 'SlotID==1' -format '+TargetSlot = "%s"\nqueue\n\n' Name >> runit.sub +{endcode}