ExecutionTask - addDailySchedule


ExecutionTask - addDailySchedule

Description :

This command adds a daily schedule to an execution task.

The argument etKey is a handle to the execution task being modified. To find the etKey , use the ExecutionTask getDBKeyByGroupAndName command.

The dateString argument defines a daily schedule to be added to the execution task definition. It must be in the format HH:MM:SS. This command returns the id of the created schedule.

Return type : Integer

Command Input :

Variable Name

Variable Type

Description

etKey

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

Handle to the execution task.

dateString

String

Daily schedule to be added. The date string must be in the format HH:MM:SS.

Example

The following example shows how to add a daily run at 11:35 PM to an execution task.

Script

DATE_STRING="23:35:00"

`blcli ExecutionTask addDailySchedule $ET_KEY "$DATE_STRING"`

 

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

TrueSight Server Automation Command Line Interface