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

Re: [HTCondor-users] Unable to get _HOOK_PREPARE_JOB to add something to job ClassAd



On 08/02/2017 03:52 AM, Carsten Aulbert wrote:
Hi all

I wanted to record some information about the execute nodes to the job's
ClassAd and thought I could utilize a prepare job hook for that.


The job ad changed by the hook only changes the copy on the execute node, and doesn't make it back to the submit side.

It is probably easier to advertise this attribute in a machine classad with startd cron or STARTD_ATTRS, and then use

SYSTEM_JOB_MACHINE_ATTRS

on the submit side to copy that attribute into the job ad.

-greg