lizh
3
Hi moonraker:
Attached ‘led.zip’ is compressed file of the script for controlling the lights.led.zip (282 Bytes)
/usr/bin/led.sh on #turn led on
/usr/bin/led.sh off #turn led off
1, You need to exit the MESH first;
2, Log in to the subroute with ssh and exec ‘cp led.sh /usr/bin/;chmod 755 /usr/bin/led.sh’;
3, Create a file:‘touch /etc/crontabs/root’;
4, Set a scheduled task in the above file ‘/etc/crontabs/root’;[OpenWrt Wiki] Scheduling tasks with cron
5, The default time for subrouter is UTC and you need do a conversion with the local time;