ProvisionJob - getDBKeyByGroupAndName
ProvisionJob - getDBKeyByGroupAndName
Description :
This command gets the handle for a job. You must provide the job name and the full path to the job group containing the job.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
groupName | String | Fully qualified path to the job group containing the job. |
jobName | String | Name of the job. |
Example
The following example shows how to get the DBKey of an existing Provision Job.
Script
# Name of the existing Provision Job.
PROVISION_JOB_NAME="provisionjob1"
# Job group in which the Provision Job is stored.
PROVISION_JOB_GROUP="/parent/group1"
# Get the File Deploy Job DBKey using the above information.
PROVISIONJOB_DBKEY=`blcli ProvisionJob getDBKeyByGroupAndName $PROVISION_JOB_GROUP $PROVISION_JOB_NAME`
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.