You can directly restart a stopped batch job through the
command line interface using the runbatch script.
Procedure
- 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.
- 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.