Steps
Use the dispatcher » stopService(servicePath, immediately) method and the dispatcher » startService(servicePath) method to stop and start dispatchers or services.
To stop or start a particular service, use the
serviceparameter of the method to name the service.For a list of service names, see List of Services.
For the reportService or batchReportService service, set the
immediatelyparameter of thestopServicemethod totrueto stop the service without completing any jobs that are running or queued.