Community Forum: http://community.pbspro.org/t/option-to-not-kick-a-scheduling-cycle-through-expect-in-ptl/1531
Summary :
Expect method call should have a flag which can be set to False so that scheduling cycle will not be triggered when expected output is not found.
Interface:
Server.expect(self, obj_type, attrib=None, id=None, op=EQ, attrop=PTL_AND,
attempt=0, max_attempts=None, interval=None, count=None,
extend=None, offset=0, runas=None, level=logging.INFO,
msg=None, trigger_sched_cycle=True)
param trigger_sched_cycle: True by default can be set to False if kicksched_action is not supposed to be called
type trigger_sched_cycle: Boolean
Additional Info:
Some usecases:
Note:
As Server.expect calls Server.status there is case to be noted. If job_sort_formula is passed to status it explicitly kicks a sched cycle.
Project Documentation Main Page
Ignore this. We may use it later for page characterization. |