DistributeConfigurationObjectsJob - createDistributeConfigurationObjectsJob
DistributeConfigurationObjectsJob - createDistributeConfigurationObjectsJob
Description :
This command creates a Distribute Configuration Objects job.
The jobName argument is the name of the Distribute Configuration Objects job to be created. The groupId is the id of the group in which the job is to be created. The useLatestVersions argument is an indication of whether the latest version of the configuration objects specified in the job should always be used when running the job. This command returns a handle to the newly created job. The DBKey can be used in other commands that need to reference the job you have created.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
jobName | String | Name of the job to be created. |
groupId | Integer | ID of the parent job group for the job. |
useLatestVersions | Boolean | Whether the latest version of the configuration objects specified in the job should always be used when running the job |
Example
The following example creates a Distribute Configuration Objects job.
Script
JOB_GROUP_ID=`blcli JobGroup groupNameToId /group1`
JOB_KEY=`blcli DistributeConfigurationObjectsJob createDistributeConfigurationObjectsJob distrib_co_job $JOB_GROUP_ID true`