Can you configure it to have LastHoldReason0 LastHoldREason1 LastHoldReason2 and so forth, with corresponding codes and subcodes, that should be possible to do.
Then you could look at all of those, and see.
Steve Timm
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Parag A Mhashilkar <parag@xxxxxxxx>
Sent: Thursday, January 18, 2018 2:36:32 PM To: HTCondor-Users Mail List Subject: [HTCondor-users] Counting job num of holds for a given reason
Hi,
I want to set a periodic release for a job in case the job is held with code 34 only so I can request more memory next time when it is released. However, I want the periodic_release to be triggered only once for these set of jobs. I got most of the logic figured out, but am missing on how to put the counter in place for number of times the job was held with holdcode 34. Is there a macro or standard job classad attribute I am missing?
_____________________________________________ Parag Mhashilkar
Fermi National Accelerator Laboratory WWW: www.fnal.gov Phone: 1 (630) 840-6530 Fax: 1 (630) 840-3109 _____________________________________________ |