Quiller
Regular Contributor
I've followed merlin's guide (https://github.com/RMerl/asuswrt-merlin/wiki/Scheduled-LED-control) to get the scheduled led control to work, but for some reason the cronjobs aren't listed when I type "cru 1" in telnet. According to the guide both jobs should be listed, but they are not.
The only thing I see when I type "cru 1" is:
the contents of my services start is:
the contents of ledson.sh is:
the contents of ledsoff.sh is:
I've made all three files executable using chmod +x and chmod a+rx, but I can't see the scripts listed after typing "cru 1" in telnet.
What am I doing wrong?
The only thing I see when I type "cru 1" is:
Code:
Cron Utility
add: cru a <unique id> <"min hour day month week command">
delete: cru d <unique id>
list: cru l
the contents of my services start is:
Code:
#!/bin/sh
cru a lightsoff "0 20 * * * /jffs/scripts/ledsoff.sh"
cru a lightson "0 8 * * * /jffs/scripts/ledson.sh"
sleep 10
/opt/etc/init.d/rc.unslung start
the contents of ledson.sh is:
Code:
#!/bin/sh
nvram set led_disable=0
service restart_leds
the contents of ledsoff.sh is:
Code:
#!/bin/sh
nvram set led_disable=1
service restart_leds
I've made all three files executable using chmod +x and chmod a+rx, but I can't see the scripts listed after typing "cru 1" in telnet.
What am I doing wrong?