Delay start of a job

2 views
Skip to first unread message

Nico Rehberg

unread,
Sep 10, 2026, 9:34:56 AM (14 days ago) Sep 10
to Royal Render Knights Tavern
Hi.

I would like to delay the start of a job by a certain amount of time. Is that possible?
The jobs are triggered by Shotgrid and I'd like to wait for about 10 minutes before they are actually started (to wait for files being actually present on the server). I've seen WaitForTime, but that can only set a limited set of start times as far as I can tell. Is there something finer?

Thanks,
Nico

RR, Schoenberger

unread,
Sep 10, 2026, 10:22:07 AM (14 days ago) Sep 10
to rrKn...@googlegroups.com

Hi

Yes, the rrSubmitter UI dropdown is limited regarding the hours you can choose from.
But the rrJob setting used later is not.
You need to use Python to modify it.
Please create a new “per job” on-Submission script via the rrSubmitter menu.
-------------------------------------------------------------
import datetime

 

job= rr.getJob()

nowTime = datetime.datetime.now()

laterTime= nowTime + timedelta(minutes = 10)
job.timeToEnable= laterTime

rr.setJob(job)
-------------------------------------------------------------



On-Submission scripts can be enabled by default via the rrSubmitter menu.
Or you can use Defaults- Edit via UI to find out the parameter name to place it  into an <SubmitterParameter>  Xml setting.

e.g. for the “Example-setEnvLine” on-submission script it would be:

OSperjob_Example-setEnvLine=1~1

 

 

regards,
Holger Schönberger

Craftsman and Keeper of the Royal Render Flame

Please use the rrKnights Tavern
or our support system for new questions.

 

 

Nico Rehberg

unread,
Sep 10, 2026, 12:12:20 PM (14 days ago) Sep 10
to Royal Render Knights Tavern
Thanks, 
it's a bit indirect, but it works for my use case.
Reply all
Reply to author
Forward
0 new messages