Information
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.

ExecutionTask - execute


ExecutionTask - execute

Description :

This command executes an execution task and returns immediately without waiting for the execution task to end. If approval is enabled for the job type, use the executeWithApproval command instead.

Return type : Integer

Command Input :

Variable Name

Variable Type

Description

executionTaskKey

com.bladelogic.om.infra.model.base.keys.SExecutionTaskKey

DBKey of the execution task.

Example

The following example shows how to execute an execution task called tstET in the job group /tasks.

Script





ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET`

ET_KEY=`blcli ExecutionTask execute $ET_KEY`



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5