AWS Thinkbox Discussion Forums

Deadline 6 Beta - run post-job python script?

Hello,

Is there any way to automatically run an arbitrary python script once a render job has completed, with Deadline 6 Beta? My workflow involves collecting some post-render statistics once a job has been processed through the render queue, so I expect I need to listen for some kind of job completion trigger/signal from the Deadline Monitor application.

From the DL6 documentation, there are some parameters called “PostJobScript” and “PostTaskScript” that I can include with my submission job file. Will either one of these work for what I need to do?

Thanks lots!

Parmjit V.
Software Developer

Hey Parmjit,

If you’re looking to run the same script on all (or even most) of your jobs on completion, it might probably be easier to make an Event Plugin:
thinkboxsoftware.com/deadlin … eventssdk/
(Note that this is documentation for 5; you’ll want to make sure to follow the Python.NET instructions)

If you only want to do it for specific jobs, you probably would want to use PostJobScripts, which are handled as a special task that always “renders” last. PostTaskScripts will run after every single task, which doesn’t sound like it’s what you want.

Cheers,

  • Jon

OK, that is good to know. Thank you!

Parmjit

Privacy | Site terms | Cookie preferences