Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

AgentInstallerJob - executeJobGetJobResultKey

AgentInstallerJob - executeJobGetJobResultKey

Description :

This command executes an Agent Installer Job and waits for the job to end before returning. This command returns a handle to the job result. This handle can be used in other commands that need to reference the results of the Agent Installer Job.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

jobKey

DBKey

Handle to the Agent Installer Job to be executed.

Example

The following example gets a handle to an Agent Installer Job, executes the job, and returns a handle to the job result.

Script





JOB_NAME=agentInstallerJob 

JOB_GROUP=/installjobs 

JOB_DBKEY=`blcli AgentInstallerJob getDBKeyByGroupAndName $JOB_GROUP $JOB_NAME` 

JOB_RESULT_KEY=`blcli AgentInstallerJob executeJobGetJobResultKey $JOB_DBKEY` 



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

Comments