AWS Thinkbox Discussion Forums

Turn slave off-line or disable slave

Hi.

Can anyone show me an example what code I need to do this in a jobPreload script please? Much appreciated.

slave_name = deadlinePlugin.GetSlaveName() if something happened: turn the slave off-line or disable it.

You’d pull out the Slave settings object, set its state to disabled, then save it back. Relevant functions:

docs.thinkboxsoftware.com/produ … 6e42e8c900

docs.thinkboxsoftware.com/produ … 011d06811f

docs.thinkboxsoftware.com/produ … 67122c941e

1 Like
Privacy | Site terms | Cookie preferences