Restarting a stopped batch job using the runbatch script

You can directly restart a stopped batch job through the command line interface using the runbatch script.

Procedure

  1. Determine the process ID of the stopped batch job that you wish to restart. 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. Run the runbatch.sh script with the following arguments:
    runbatch.sh <-restart | -restartWithErrors> <processId>
    Where:
    • -restart indicates that the batch job will resume processing from the place where it stopped.
    • -restartWithErrors indicates that the batch job will retry any failed transactions before resuming processing from the place where it stopped.
    • <processId> is the process ID of the batch job that you wish to restart.


Last updated: 17 May 2017