I want to create a schedule to disconnect lan from the wan/internet in order to turn it off at 11pm each night
# disconnect lan to wan bridge 0 23 * * * uci set network.cfg061ec7.ports='0t' # reload network 1 23 * * * service network reload
when I put these commands directly into ssh, they work fine
On cron, the first command is not working though as when I check the status with
uci get network.cfg061ec7.ports, I can see it has not changed
I can see the network reload is working at the connection drops for a moment.