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

Re: [HTCondor-users] Can the startd insert a classAd to running jobs?



Hi Jose,

you can add class ads to the startd with something like
  SomeNewAdd = 1.234
  STARTD_ATTRS = $(STARTD_ATTRS) SomeNewAdd

If the ad needs to be updated during the job start/run time, maybe a OneShotCronHook or one of the other hooks might be what you are looking for

https://htcondor.readthedocs.io/en/latest/admin-manual/hooks.html#startd-cron-and-schedd-cron-daemon-classad-hooks

Cheers,
  Thomas

On 25/07/2023 08.59, Jose Caballero wrote:
Hi,

We would like to know if there is a mechanism for the startdÂto insert a custom classAd as soonÂas the job starts running, that can be seen on the schedd node via condor_q. Is thatÂpossible?

Cheers,
Jose


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature