Steps

  1. 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.

  2. For the reportService or batchReportService service, set the immediately parameter of the stopService method to true to stop the service without completing any jobs that are running or queued.