EditSchedule
Edits an existing schedule. You must set the Name parameter to specify the schedule to modify, and update both the action to schedule and the schedule.
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=EditSchedule&Name=backupSchedule&ScheduleCommand=DREBACKUP%3F%2Fpath%2Fto%2Fbackup&ScheduleStart=2014-Jan-08 15:42:36&ScheduleInterval=5 hours
Required Parameters
The following action parameters are required.
Parameter | Description |
---|---|
Name | The name of the schedule to edit. |
Optional Parameters
This action accepts the following optional parameters.
Parameter | Description |
---|---|
Port | The port that the schedule runs on. |
Command | An XML fragment that describes the action to send. |
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 action to schedule. |
ScheduleCount | The number of times to run the schedule. |
ScheduleEnd | The date 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 on which to start the schedule. |
ScheduleType | The type of action to schedule. |