Scripting in deadline newb questions

Hello all
Im just started out scripting for deadline, and i know Im going to sound dumb for asking these questions, but here goes:

  1. Is there any interactive (or semi-interactive) way of evaluating code in deadline? Submtting a job with pre/post/dependency-scripts and then wait for the jobs to finish to get the output seems kinda slow when your just trying things out…

  2. I got the scripting reference, and I got the user manual scripting sections of the user manual, but when it comes to stuff that’s not related to manual submission i still feel rather lost. Are there any other scripting examples of what can and cant be done? For instance, can you push plugin args from a dependency script to the job(s) that’s connected to it?

There is a lot that can be done with deadlinecommand in terms of testing code. Use the ExecuteScript sub-command to test out simple scripted operations to confirm that they behave as expected before incorporating them into more complex scripts.

For more rapid turnaround for event script testing, I submit simple Python jobs (they just delay a few seconds and then exit) with a high priority that are white listed only to my local Slave. Also, one can right-click the Launcher and choose Local Slave controls to make it so the Slave only picks up Jobs submitted from the same machine (don’t forget to switch it back). I expect others have clever ways of testing as well, and I’d like to hear them too.

For script examples, check out the Thinkbox GitHub repository. And if you have questions, this is the best place to ask.

Thanks Coulter, thats awesome, Im definitely going to check it out. “Deadline’s Secret Weapon” indeed :smiley: