ExecutionTask - removeScheduleTillCompletion

ExecutionTask - removeScheduleTillCompletion

Description :

This command sets the schedule to run in regular mode (instead of "schedule till completion" mode).

Return type : void

Command Input :

Variable Name

Variable Type

Description

scheduleId

Integer

ID of the schedule you want to work with.

Example

The following example shows how to remove from a given schedule the "schedule till completion" mode. You can retrieve the schedule's ID by calling any of the schedule's "create" commands (except addOneTimeSchedule). This example uses one of the available commands - addDailySchedule.

Script





DATE_STRING="2005-01-01 23:35:00" 

ET_KEY=`blcli ExecutionTask getDBKeyByGroupAndName /tasks tstET` 

SCHEDULE_ID=`blcli ExecutionTask addDailySchedule $ET_KEY $DATE_STRING` 

blcli ExecutionTask removeScheduleTillCompletion $SCHEDULE_ID 



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

Comments