Un-interruptable jobs

We have some processes we’d like to send to Deadline, but unlike rendering jobs, we really don’t want these processes to be interrupted by someone shutting down the worker mid-task. Is there anything we can do to deter this just for this type of job?

Almost all of our nodes are idle workstations, hence the fear of these tasks getting interrupted when the team member returns to their desk. We’d just want to delay the Worker shutdown until the task completes, but only for these jobs, not for lengthy jobs like 3D renders.

If it helps these jobs are all Commanldine jobs submitted as below. Perhaps there’s some shell trickery to make sure the process still runs even if the Worker is closed?

JOB_INFO = {
‘Frames’: 1000,
‘Plugin’: ‘CommandLine’,
}

PLUGIN_INFO = {
‘Executable’: r’C:\Program Files\Nuke13.2v3\Nuke13.2.exe’,
‘Shell’: ‘default’,
‘ShellExecute’: False,
‘SingleFramesOnly’: True,
}

Deadline jobs has an Interruptible option which you can enable. It controls whether or not tasks for this job can be interrupted while they are in progress, and under what conditions they be interrupted.

But I won’t stop anyone from closing the worker and interrupting the render process. You can install Deadline launcher as a service which would run the Deadline application as service/daemons. In this setup, there will be no application to close and worker will be running as a service.