JobID and dependencies question

I’ve just finished writing my own integrated Max submitter that does a few more, specific, things than the standard one.

The first is, it submits a WinRAR job with the scene file I’ll need rendering. Then it submits a 3ds Max job with a dependency on the WinRAR job.

However, I was wondering, because all this is happening over a VPN (which makes it quite slow), what happens if I submit a dependency job on a job that has been deleted by Deadline?

See, I was thinking of making the WinRAR jobs to be deleted right after they’re processed by deadline (OnJobComplete=Delete), however, there might be an occassion when submitting the new Max job takes longer than the WinRAR job being unpacked on the server side. So, by the time I submit a Max job with the dependency, the WinRAR job might already be deleted.

What is gonna happen?

Ah… I couldn’t wait for the answer, so I synthetically simulated this occassion. :smiley:

What happens, for anyone interested, is that Deadline marks the dependency as “deleted” in the dependant job and treats it as a “green light”, so the job can proceed rendering.

That’s one less thing to worry about. :wink:

Great job, Thinkbox!