Schedule a job to run every hour

Here is a quick and ugly Event Plugin which can be configured to requeue one job every N seconds (e.g. every 3600 seconds).

Requeuer.zip (1.4 KB)

If the job has Completed or Failed, it will be requeued when the given time has elapsed. If the job is in a Queued or Rendering state, it won’t be touched.

This way, you can create one Python Script Job on the queue that does your recurrent processing, and then copy its Job ID and paste it in the Configure Events > Requeuer configuration dialog, and set the desired time in seconds. If the Job has completed, it will be requeued every N seconds. If it is still rendering or waiting to be rendered, it won’t be modified.

To install, just create a Requeuer folder under DeadlineRepository10/custom/events/ and unzip the content of the attached archive. Feel free to improve the script, e.g. extend to support multiple jobs with unique time periods…

1 Like