You canât reference python variables using $() substitution in the submit file, you need to put emailed into the submit object.
For instance, you could do this just before you submit job["emailid"] = emailid -tj From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
On Behalf Of gagan tiwari Hi Guys, I need condor to send email notifications to the job owner. I have captured the user's email id in a variable and passed that in the submit file but condor doesn't seem to be using it and sending e-mail do
owner@uid-domain which is default. I am using following python codes to achieve this :- def submit_jobs(): emailid = emailid.split() ( capturing user email as list ) job = htcondor.Submit({ I tried passing user email id both as str and as list but nothing worked. Please let me know what I am missing here. Thanks, Gagan |