Go to Control Panel / Task Scheduler and add the content of these scripts as root
scripts.
Codes have been taken from this article.
turn-leds-off.sh
: turns leds offturn-leds-on.sh
: turn leds back on
Ex (this is how I use it): turn leds daily at 10PM, turn them back on at 6AM.
It doesn't work for me on DSM 6 with root selected.