Running the batch processor in the background

The batch processor can be run in the background so that the batch job or chain can run while still allowing you to interact and run other commands.

Procedure

  • Run the runbatch.sh script and redirect the stdin, stdout, and stderr:
    runbatch.sh <arguments> 1>your_stdout.log 2>your_stderr.log </dev/null &
  • Normally, running the batch processor in the background is combined with the nohup command so that you can terminate the terminal session without having to terminate the batch processor. To run batch processor with nohup, Run the runbatch.sh script as follows:
    nohup runbatch.sh <arguments> 1>your_stdout.log 2>your_stderr.log </dev/null &
    Tip: The </dev/null portion of the command is important to help avoid unnecessary CPU usage.