Disable auto time out on a job?

I have a global auto time out set in the repository which would kick in after 50% of the job’s tasks been completed. It’s purpose is mainly for Maya render jobs, but the problem I ran into is that this gets applied to everything including Houdini sims and script jobs which timing can vary a lot.

Is there a way to disable it on a job by job basis? I tried overriding the Max Task Render Time however the auto time out still kicked in.

Well, if it’s only maya job then I’d probably make an OnJobSubmitted event script where

        if not job.JobPlugin in ["MayaBatch", "MayaCmd"]:
            print "Skipping. Not Maya job."
            return
       else:
            job.JobEnableAutoTimeout = True
            RepositoryUtils.SaveJob(job)
            print "Job Auto Timeout activated."

On repository settings --> Job Settings, “Enforce an automatic Job timeout for all” leave that one unticked.
https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/repository-config.html#job-scheduling

Here’s Edvins example of timeout event https://github.com/ThinkboxSoftware/Deadline/tree/master/Custom/events/SetJobTimeout

1 Like

Good idea. Thank you.