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

Re: [HTCondor-users] Updating Job ClassAd during job run



	The technique at

https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=HowToInsertCustomClassAdIntoJobs

is limited, as you have discovered, to machine ad attributes set when the job matches the machine, so that won't work for what you want.

There are two other ways you can edit the (schedd's copy of the) ClassAd of a job running at a startd.

(1)  You can run condor_chirp from inside the job.
(2)  You can set job_machine_attrs in the job submit file.
(3)  You can set SYSTEM_JOB_MACHINE_ATTRS on the submit node.

The disadvantage of (2) and (3) is that the attribute that goes into the job ClassAd is named `MachineAttr<Name>0`, and not just <Name>.

- ToddM