Can I trigger an event early?

Is there a way to trigger an event dependent job, before the job has completed?

-Christian

May I ask what exactly you need Deadline to do?

sure, sometimes; when I have a job that is for example 1000 or more frames, I would like to be able to send the QuickTime job render before the frame sequence render is done so that the QuickTime encoding can happen concurrently and the QuickTime can complete shortly after the render job is done, thus saving time and speeding things up a bit. However, if I send an event triggered job then the event is not triggered until the whole job is completed and makes the whole cycle linear, so I was trying to find a way around this by triggering the event early or something.

Hi Christian,

There isn’t a way to trigger events early in an event plugin. We have been considering adding new event types, and perhaps there might be a use for triggering events when a task starts, finishes, fails, etc, but for now, maybe a post-task script might work for you:
thinkboxsoftware.com/deadlin … ptingjobs/

You could have the script check the output file count, and if it reaches a certain amount, submit a QT generation job. Note though that while it can save some time launching the QT job early, you should be aware of how the QT job will deal with missing frames (ie: they haven’t been rendered yet, the original job keeps failing specific frames, or the original job is suspended).

Cheers,

  • Ryan

Well, I still don’t understand. Don’t you want QuickTime to start processing the entire render sequence? And not just the finished, say, 90% of it?

By the way, you can work around this for example by creating a OnJobStarted event that generates a QuickTime job and have it be dependent on the currently rendering job, but set the dependency to be released at, say, 90% while the original job is still being finished.