Script equivalent of remotecontrol <worker> RelaunchSlave

Hi,

I’m looking for the scripting equivalent of this command-line action:

We’re working around a hanging issue in the short term, and we are writing a utility to detect a certain hanging condition (mayaBatch plugin not exiting cleanly) and our current workaround is to restart the Worker on those nodes.

Also, is there a way to grab the last N lines of the Worker log through the scripting API?

This line in the Worker log:

WARNING - Waiting for unresponsive Render thread "Unloading Plugin…

is the tell-tale sign of a hanging Worker. We’d like to check Worker logs for this condition, and then send a “Restart Worker” command to all those Workers that match.

Thanks,

Jason

Privacy | Site terms | Cookie preferences