Jobprocessor: Request if in Pause Mode

Jobprocessor: Request if in Pause Mode

cidhelp
Advocate Advocate
218 Views
1 Reply
Message 1 of 2

Jobprocessor: Request if in Pause Mode

cidhelp
Advocate
Advocate

Hi,

 

to monitor, if the jobprocessor is working correctly, I want to request if the jobprocessor.exe is in Pause mode.

I know the command line options to start, pause, resume, stop the jobcrocessor, but I only want the get an information, if jp ist paused or not.

Is there an (hidden) command line option to get this info? Or is there a chance to get the info using the vault api?

 

 

 

219 Views
1 Reply
Reply (1)
Message 2 of 2

Nick_Hall
Collaborator
Collaborator

Hi

 

  • Is there an (hidden) command line option to get this info?

    I don't believe that there is

  • Or is there a chance to get the info using the vault api?

    There's no Job Processor client API
    The only thing you could do is use the API to check if any of the jobs are being processed by that particular PC
    But that can't tell you if the application is Paused or Idle (waiting for a job)

I looked at this a while ago, and tried using AutoHotKey (https://www.autohotkey.com/) to detect the Job Processor application, and read the control at the bottom left, looking fro the word "Paused"

 

That was partially successful, but I had trouble when the application was minimised to the system tray, and didn't follow it through to see if I could get over that final hurdle

 

If that's of interest, I can have a look for the script

 

Hope that helps

Nick

 

0 Likes