Starting a batch job based on a job definition file
To explicitly create a batch job based on one or more job definition files, run runbatch.sh with job definition file names as arguments.
Procedure
Results
On receiving the runbatch
command, the
batch processor creates a job chain with the given name and definitions
and then processes the specified jobs. If the name is not specified,
the batch processor generates a descriptive name.
By default,
when you provide more than one job template through the command line,
then the jobs are run in the same sequence as provided in the command
line. The batch processor sets the sequence by replacing the <<PriorityType>>
placeholder in the job templates
with incremental priority values. The first job takes the value specified
by the Batch.properties file’s priority_min
property; the second job uses the value of priority_min
plus one; the third job uses the priority_min
value
plus two; and so on until the value reaches the value specified by priority_max
.
You can override the default job sequence by manually replacing
the <<PriorityType>>
placeholder in the job
templates with a specific priority value. If more than one job has
the same priority value, then the batch processor determines the sequence
using the task definition ID (ascending) and the task ID (ascending).