ExecutionTask - removeAllSchedules
ExecutionTask - removeAllSchedules
Description :
This command removes all schedules from an execution task. The argument executionTaskKey is the handle to the execution task you want to modify. This command returns a handle to the updated execution task.
Return type : java.lang.Object
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
executionTaskKey | com.bladelogic.om.infra.model.base.keys.SExecutionTaskKey | Handle to the execution task being modified. |
Example
The following example shows how to remove all schedules from an execution task.
Script
ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET`
ET_KEY=`blcli ExecutionTask removeAllSchedules $ET_KEY`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*