Where are you looking ?
Best Practice on useing BLCLI
BatchJob - createBatchJob
This command creates a Batch Job with one member job. Use addMemberJobByJobKey to add more member jobs. UseremoveMemberJobByJobKeyAndIndex to remove a job. If the Batch Job is to override targets, these must be added using Job : addTargetServer , or Job : addTargetGroup .
groupId is the ID of the intended parent group. memberKey is a handle to the initial member job.
Return type : DBKey
Command Input :
Name of the job to be created.
ID of the job group where this job is stored.
Handle to the initial member job.
Continue on error.
Execute by Stage(true)/Server(false).
Override member targets.
The following example shows how to create a new Batch Job with one member Snapshot Job.
# Name of the
# Group in which the Batch Job is to be stored.
BATCHJOB_GROUP_ID=`blcli JobGroup groupNameToId $BATCHJOB_GROUP`
# Name of the existing Snapshot Job.
# Job group in which the Snapshot Job is stored.
# Get the Snapshot Job DBKey using the above information.
JOB_DBKEY=`blcli SnapshotJob getDBKeyByGroupAndName $JOB_GROUP $JOB_NAME`
# Continue on error. Set to
you want the Batch Job to
# Execute by stage. Set to
to execute by stage and
to execute by server.
# Override targets. Set to
to override member job targets and
to use member targets.
# Run the command with the above values to create the Batch Job.
BATCHJOB_DBKEY=`blcli BatchJob createBatchJob $BATCHJOB_NAME $BATCHJOB_GROUP_ID $JOB_DBKEY $bContinueOnError $bExecuteByStage $bOverrideTargets`
# Use the returned DBKey to add more jobs to the Batch Job.
Right. what’s missing from there ?