I got a couple TD’s sending hjobs that seem to take 14 hours to render. I want to cancel them and consider them failed after 3 hours. Can i set this up globally in deadline 5_2?
Thanks
Fred
I got a couple TD’s sending hjobs that seem to take 14 hours to render. I want to cancel them and consider them failed after 3 hours. Can i set this up globally in deadline 5_2?
Thanks
Fred
Hi Fred,
You can’t set this up globally, but you could edit the submission script they use to hardcode a timeout. Is that an option?
Cheers,
We use the submission scripts that Grant does with RPManager. I might be able to hack it in there. Maybe you could give the the line of cade that would timelimit it?
You can search the SubmitMaxToDeadline_Functions.ms script for where TaskTimeoutSeconds is being set. This script should be in the supportfiles folder that is included with the RPM scripts for Deadline.
Cheers,
I found this
TaskTimeoutEnabled = false,
TaskTimeout = 0,
AutoTaskTimeout = false,
And set it to this
TaskTimeoutEnabled = true,
TaskTimeout = 10800,
AutoTaskTimeout = false,
Does that seem right?
Those are the default settings. If you always want to override what they enter, then you should comment out this code:
if SMTDSettings.TaskTimeoutEnabled then
format "TaskTimeoutSeconds=%\n" SMTDSettings.TaskTimeout to:submitInfoFile
else
format "TaskTimeoutSeconds=0\n" to:submitInfoFile
Then add a new line to hardcode the value. The result should look something like this:
--if SMTDSettings.TaskTimeoutEnabled then
-- format "TaskTimeoutSeconds=%\n" SMTDSettings.TaskTimeout to:submitInfoFile
--else
-- format "TaskTimeoutSeconds=0\n" to:submitInfoFile
format "TaskTimeoutSeconds=10800\n" to:submitInfoFile
Cheers,
Thanks Ryan!
While we’re chatting, can you point me to the most basics of Draft. I’d like to start playing with it and I know almost nothing…
Fred
Best place for that is the Draft beta forums. If you don’t already have access, shoot an email to sales@thinkboxsoftware.com and they’ll be able to set you up!
Cheers,