ExecutionTask - executeAgainstFailedTarget
ExecutionTask - executeAgainstFailedTarget
Description :
filter type:
- All Failures=1
- All Errors=2
All Warnings=3
returns schedule id, in case no targets fit the filter it return 0Return type : Integer
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
etKey | com.bladelogic.om.infra.model.base.keys.SExecutionTaskKey | Handle to the execution task. |
filterType | Integer | failed level |
Example
The following example shows how to execute Execution Task with its failed target.
Script
ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET`
blcli ExecutionTask executeAgainstFailedTarget $ET_KEY 1
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*