[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] if clause in submission file
- Date: Fri, 14 Jun 2019 09:40:54 -0400
- From: Ben Cotton <bcotton@xxxxxxxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] if clause in submission file
On Thu, Jun 13, 2019 at 10:39 PM Stefan Harjes <stefan.harjes@xxxxxxx> wrote:
> I am migrating some machines to a new configuration and would like send those machines a slightly different submission file. The fresh machines are identified by a local variable (for example HAS_SH20). Is it possible to have an if clause in the submission file which will react, if this variable is indeed true?
I think you should be able to specify the following:
RunAsOwner = $$(HAS_SH20)
The $$() means to match against the *machine* ClassAd (see
), but RunAsOwner might be a little special.
He / Him / His
Fedora Program Manager