Get Job Service Status from Queue Name - v8.0

Hello Experts

Is it progammatically possible to query the status of a particular service given the name of the queue? 

The JobQueueInfo tool already does this (when selecting "Get Status" or F5), is it possible to do this via the scripting API?

So, for instance I have a queue named "Queue01" hosted on a job service, can I find out if the job service is stopped or running? For my use case it is safe to assume a service has one and only one queue on it

Thanks

Kin

Top Replies

Parents Reply Children
No Data