Stopping a batch job using the runbatch script

You can use the runbatch.sh script to stop batch jobs from processing.

Procedure

  1. Determine the process ID of the batch job you wish to stop.
    When you start a batch job, this ID is displayed in the command console and also written in the $home/taskchain.txt file. If you have explicitly created the batch job, this value is the ProcessId attribute of the TaskBObj instance.
  2. While a batch job is running, run the runbatch.sh script with the following arguments to stop the job immediately:
    runbatch.sh -stop <processId>
    Where <processId> is the process ID of the batch job or job chain that you wish to stop.