Example: Restart job properties file
Use the WSGrid utility to restart jobs in the restartable state using the job ID of the restartable job of the properties file.
For example, if PostingSample:0001 ended in a restartable state, we can restart it using the restart.props file, which contains restart-job=postingSample:0001.
From the command prompt, issue this command:
>wsgrid.sh cntl.props restart.propThe job specified in restart-prop is restarted.
Use the WSGrid utility to create restart.prop
Specify a file name using the third argument, as shown in the following:
>wsgrid.sh cntl.props job.props restart.prop
If a job ends in a restartable state, a file named restart.prop is created and the job ID is written as shown in the example.
Related:
WSGrid command-line utility Batch job properties WSGrid properties file examples