How soon are you querying the ad after?
If it's the same mechanism as memory and other attributes then it could be up to 15 minutes before it appears in the schedd copy of the job ad.
Cheers, Iain
Sent from
Nine
From: Jason Liu <jason.liu@xxxxxxxxxxxxx>
Sent: 14 Jun 2016 12:10 p.m. To: htcondor-users@xxxxxxxxxxx Subject: [HTCondor-users] ClassAd injected by prepare-job-hook not reflected in condor_q -long Hi,
I wrote a simple prepare-job-hook which basically just
echo MyVariable = \”foobar\”
In the Starter log I can see MyVariable has been injected into the ClassAd.
However, when I query the running job via condor_q –long, MyVariable is not there.
Is this a bug?
Thanks
Jason
PRIVACY AND CONFIDENTIALITY NOTICE |