This topic provides an example of how to call an API operation to create a scheduled task.

Description

In this example, the LaunchTime, RecurrenceType, RecurrenceValue, RecurrenceEndTime, and ScheduledAction parameters are specified to create a scheduled task. For more information about the parameters, see CreateScheduledTask.

Sample requests

http://ess.aliyuncs.com/?Action=CreateScheduledTask
&RegionId=cn-qingdao
&LaunchTime=2014-08-17T12:00Z
&RecurrenceType=Daily
&RecurrenceValue=1
&RecurrenceEndTime=2014-09-17T16:55Z
&ScheduledAction=ari:acs:ess:cn-qingdao:134437****:scalingrule/eMKWG8SRNb9dBLAjweN****
&<Common request parameters>

Sample responses

<CreateScheduledTaskResponse>
    <ScheduledTaskId>edRtShc57WGXdt8TlPbr****</ScheduledTaskId>
    <RequestId>0F02D931-2B12-44D7-A0E9-39925C13D15E</RequestId>
</CreateScheduledTaskResponse>