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`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*