AddSchedule
Adds a new schedule. This action requires details of the actions to schedule, and details of the schedule to run the action on.
You can specify details of the action by setting one of the following parameter combinations:
- Command
- ScheduleCommand and ScheduleType and Port
You can specify details of the schedule by setting one of the following parameter combinations:
- Schedule
- ScheduleStart and ScheduleInterval (optionally with ScheduleEnd or ScheduleCount)
Example
a=AddSchedule&Name=backupSchedule&ScheduleCommand=backupserver%26path%3Dc%3A\backup&ScheduleStart=2016-Apr-04 electroencephalography=36 minutes&Port=9010
Optional Parameters
This action accepts the following optional parameters.
Parameter | Description |
---|---|
Command | An XML fragment that describes the action to send. |
Name | A name for the schedule. |
Port | The port to run the schedule on. |
ResponseDateFormat | The date format to use for dates returned in the action response. |
Schedule | An XML fragment that describes the schedule. |
ScheduleActionTimeout | The number of seconds to wait before timing out the scheduled action. |
ScheduleCommand | The name of the action to schedule. |
ScheduleCount | The number of times to run the schedule. |
ScheduleEnd | The date and time (in UTC) on which to stop the schedule. |
ScheduleInterval | The amount of time that must pass after a schedule has run before it runs again. |
ScheduleStart | The date and time (in UTC) on which to start the schedule. |
ScheduleType | The type of action to schedule. |