set_schedule
Update a Synology Download Station schedule by setting enabled flags, a 168-character weekly plan, and speed limits; pass only the fields you want to change.
Instructions
Set the Download Station schedule. All parameters optional — only what you pass gets updated. enabled / emule_enabled toggle whether the schedule applies (DSM lets any Download Station user toggle this NAS-wide flag). schedule_plan is a 168-character string, 24 chars per day, Sun first through Sat; each char is '0' no download, '1' full speed, '2' limited. download_rate / upload_rate set the limited speed in KB/s (0 = unlimited). 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 | ||
| upload_rate | No | ||
| download_rate | No | ||
| emule_enabled | No | ||
| schedule_plan | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |