set_schedule
Update a Synology Download Station schedule: toggle NAS-wide schedule/eMule, set hourly no/full/limited download modes, and apply speed limits; only supplied parameters change.
Instructions
Set the Download Station schedule; get_schedule shows the current one. All parameters are optional: only what you pass is updated. enabled / emule_enabled toggle whether the schedule applies (DSM lets any Download Station user toggle this NAS-wide flag). schedule_plan is in the NAS's local hours, and download_rate / upload_rate are the limited speed. The plan and rates need a Download Station manager/admin account; if that write is refused, nothing is applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Turn the schedule on or off, for the whole NAS. | |
| upload_rate | No | Upload speed in KB/s for hours marked `2`; `0` means unlimited. | |
| download_rate | No | Download speed in KB/s for hours marked `2`; `0` means unlimited. | |
| emule_enabled | No | Turn the eMule schedule on or off, for the whole NAS. | |
| schedule_plan | No | 168 characters, one per hour from Sunday 00:00 to Saturday 23:00 in NAS local time: `0` no download, `1` full speed, `2` limited speed. |