ExecutionTask - execute
ExecutionTask - execute
Description :
This command executes an execution task and returns a Schedule ID 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`
ET_KEY=`blcli ExecutionTask execute $ET_KEY`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*