How to disable a scheduled job

Document ID : KB000046204
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

 

How to disable a scheduled job using the command line?

 

Answer:

To disable a scheduled job you will need to know the JobId associated with the specific job you wish to disable.

 

Run this command to view the JobId's associated to the scheduled jobs:

 

nhSchedule -list

 

Run this command to disable a scheduled job:

 

nhSchedule -disable <jobID>

 

Run this command to enable a scheduled job:

 

nhSchedule -enable <jobID>