CRON and Unsaved Changes: 1

Hi all
I create a second wifi ssid for my kids.
I want to put on at time and off at time.

uci show wireless give me the correct syntax

I put in the Scheduled Tasks in LEDE :

00 17 * * * uci set wireless.@wifi-iface[1].disabled='0'
00 18 * * * uci set wireless.@wifi-iface[1].disabled='1'

In the log all is good but the SSID is not up.
I'm login to lede and I see Unsaved Changes: 1

if I apply the change the SSID is up.

Can you help me ?

uci commit

1 Like

thanks !

like that ?:

00 17 * * * uci set wireless.@wifi-iface[1].disabled='0’
uci commit
00 18 * * * uci set wireless.@wifi-iface[1].disabled=‘1’
uci commit

More like

00 17 * * * uci set wireless.@wifi-iface[1].disabled='0’;uci commit
00 18 * * * uci set wireless.@wifi-iface[1].disabled=‘1’;uci commit

it's ok thank you @slh