ExecutionTask - addOneTimeSchedulingByMaintenanceWindow

ExecutionTask - addOneTimeSchedulingByMaintenanceWindow

Description :

This command adds a one time scheduling by maintenance window to an execution task. This command applies the scheduling to all the target servers defined for the execution task. This command returns the number of schedules.

Return type : Integer

Command Input :

Variable Name

Variable Type

Description

executionTaskDBKey

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

Handle to the execution task.

Example

The following example shows how to add a one time scheduling according to the pre-defined maintenance windows for each target.

Script





ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks testET` 

blcli ExecutionTask addOneTimeSchedulingByMaintenanceWindow $ET_KEY 



Was this page helpful? Yes No Submitting... Thank you

Comments