I'm trying to explore more of creating a scheduler with our farm software. I wanted to experiment using the onScheduleStatic. I can't seem to figure out how to call the onScheduleStatic on a submitJob without calling it directly.
I saw that I should be able to run this, but I get a False return value and none of my debug statements work under the onScheduleStatic function. I think my implementation may be wrong for this?
pdg.GraphContext().cook(True, pdg.cookType.StaticDepsFull) pdg.cookType.StaticDepsFull Does a static cook of the whole graph. This consists of doing a GenerateFull, and then calling the onScheduleStatic implementation of the user’s custom scheduler. Note that this is a fairly obscure cook mode, and will not work out of the box with stock schedulers.
Any direction would help!
Thank you!
Josh