Greetings fellow PBS Pro devs,
Altair is considering the addition of a pre-scheduling hook event in the PBS Pro server. It would be invoked just prior to the server informing the scheduler to run a cycle. We’re looking for feedback from the community both in terms of interest in using such a hook and the implementation strategy.
Part of the motivation for adding this hook event is our understanding that some administrators have been utilizing the server_dyn_res script to perform tasks for which it was not intended. A pre-sched hook event would give them the ability to carry out these tasks in a supported manner.
One concern we’ve discussed is performance, and how the server will be affected. We believe that making the hook non-blocking would address this to some extent. For example, if the hook needed to interact with license servers it may take several seconds to complete. While this would impose a delay prior to starting the scheduling cycle, the server could continue servicing incoming requests and job submissions.
We welcome your feedback and any other concerns you may have.