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
service
parameter 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
immediately
parameter of thestopService
method totrue
to stop the service without completing any jobs that are running or queued.