Dear Wizards,
I have (yet another) issue with hooks.
I have defined a “holding queue” - an execution queue, which is enabled but not started - where I can put jobs which are not allowed to run for a while. A cron-based script will pull the jobs out of the queue at some later time.
The problem is that my hooks (say, a modifyjob hook) cannot seem to see the actual queue name. When they run, pbs.event().job.queue
seems to be None
. So, I cannot do “my special stuff” to the jobs.
Is this normal/expected. And if so, is there a way, so can get the same information inside the hook execution?
qstat
clearly shows the queue as holdq
.
Thanks,
/Bjarne