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

Re: [HTCondor-users] Notification :- setting "notify_user" as variable not working



              I don't want to use a static string as notify_user
because many users run jobs and they have different email addresses.  So, I
need to use it as a variable in the submit file to achieve that. And
*"$(emailid)"*  is the way to specify variable in the submit file.
But somehow it's not working as expected.

`$(emailid)` asks HTCondor to substitute the value of the submit file command (or job ad attrbute) `emailid`. Your Python fragment does not set either of these. There is no way to refer to a Python variable from an HTCondor submit file; you must use a text substitution, like Cole suggested.

- ToddM