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

Re: [HTCondor-users] if clause in submission file

I haven't tested it but you may try to add it in your job class AD by modifying the schedd node configuration.Â

JOB_TRANSFORM_setowner @=endÂ
TARGET.HAS_SH20 == "true"
set_RunAsOwner = True;Â

Thanks & Regards,
Vikrant Aggarwal

On Fri, Jun 14, 2019 at 8:09 AM Stefan Harjes <stefan.harjes@xxxxxxx> wrote:
Hi HTCondor users,

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 tried:

if defined TARGET.HAS_SH20
 RunAsOwner       = True

which does not work. Is there any other way for this?


HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: