FileDeployJob - getDBKeyByGroupAndName

FileDeployJob - 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 File Deploy Job.

Script


# Name of the existing File Deploy Job. 

FILEDEPLOYJOB_NAME="filedeployjob1" 

# Job group in which the File Deploy Job is stored. 

FILEDEPLOYJOB_GROUP="/parent/group1" 

# Get the File Deploy Job DBKey using the above information. 

FILEDEPLOYJOB_DBKEY=`blcli FileDeployJob getDBKeyByGroupAndName $FILEDEPLOYJOB_GROUP $FILEDEPLOYJOB_NAME` 



Was this page helpful? Yes No Submitting... Thank you

Comments