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

Re: [Condor-users] exclude nodes via the condor_config?



> So if I want to exclude machines named imp56, imp57..imp63 I
> could do something like this?
>
>     START != regexp("imp(56|57|58|59|60|61|62|63)@.*", Machine)
>
> Or is there a better way of writing it?

Close. The = separating the START and the expression cannot be changed to a != expression. It's an "assign expression to attribute" clause, not a "make attribute equal to this or not this" clause. That can be a little confusing.

But your regexp just needs a tweak and it should work. Try:

        START = regexp("imp(56|57|58|59|60|61|62|63)@.*", Machine) != True

I think that'll work for you.

- Ian

Confidentiality Notice.
This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution,  or copying  of this message, or any attachments, is strictly prohibited.  If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments.  Thank you.