The Job Processor can be stopped, paused, and resumed via the command line. This is useful in situations where users might want the Job Processor to run only during periods of light activity. With this enhancement, a batch file can now be used as a scheduled task in Windows Task Scheduler to control the starting and stopping of the Job Processor. An example of the various command line switches and what they mean can be seen below.
2012 | 2013 | 2014 | |
---|---|---|---|
Autodesk Vault Basic | |||
Autodesk Vault Workgroup | |||
Autodesk Vault Collaboration | |||
Autodesk Vault Professional |
JobProcessor.exe -u Administrator -p -s MyVaultServer
JobProcessor.exe -w -s MyVaultServer
REM start the job processor start JobProcessor.exe REM prevents the job processor from processing any more jobs on its queue after finishing its current job JobProcessor.exe /pause REM allows the job processor to continue processing jobs on its queue from a paused state JobProcessor.exe /resume REM stops and exits the job processor after finishing its current job JobProcessor.exe /stop
It's important to note that the command line options will never interrupt the execution of a job that is already processing. Stopping or pausing the job processor via the command line only modifies the state of the job processor between jobs, similar to how it would behave if paused or stopped from the UI. This is to prevent jobs from partially executing resulting in some jobs never reaching completion or worse, leaving vault data in an inconsistent state.