AWS Thinkbox Discussion Forums

Programatically disable a worker

Is there a way to progrmatically disable a worker? I can’t find anything in Deadline.Scripting.RepositoryUtils

Cheers,

Jesse

You could try Deadline.Scripting.RepositoryUtils.SaveSlaveSettings, which takes Deadline.Slaves.SlaveSettings, which has property Deadline.Slaves.SlaveSettings.SlaveEnabled

I’ve never done that in particular, but it seems likely to work :slight_smile:

Thanks - that works!

1 Like
Privacy | Site terms | Cookie preferences