AWS Thinkbox Discussion Forums

REST API: Worker Status - Disabled

I am unable to determine if a worker is disabled through the REST API. The Info.Stat shows 2 (Idle) even for disabled workers. Is there another method available for identifying a worker’s true state?

The Worker status would always return the status on the Worker despite sitting on disabled state. I had to run the below command with deadlinecommand to get the worker setting, if the Worker is enabled or disabled:

deadlinecommand.exe -GetSlaveSetting %Hostname% SlaveEnabled
Privacy | Site terms | Cookie preferences