wi-fi cron doesn't work in 1.11

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
Laiza7i
Posts: 23
Joined: Sat May 05, 2018 5:29 pm

wi-fi cron doesn't work in 1.11

Post by Laiza7i »

Recipe from https://www.gargoyle-router.com/wiki/do ... schedule&s
doesn't work:

Code: Select all

30 22 * * * wifi down
47 10 * * * wifi up
but!
# wifi down
or
# wifi up
works fine in terminal

about my system:

Code: Select all

Device Name:Gargoyle
Gargoyle Version:1.11.0
Model:Linksys WRT160NL
Device Configuration:Gateway
Memory Usage:18.3MB / 26.9MB (68%)

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: wi-fi cron doesn't work in 1.11

Post by RomanHK »

Did you restart the cron daemon?

Code: Select all

/etc/init.d/cron restart
Try the "WiFi scheduling for Gargoyle" plugin.
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

Laiza7i
Posts: 23
Joined: Sat May 05, 2018 5:29 pm

Re: wi-fi cron doesn't work in 1.11

Post by Laiza7i »

RomanHK wrote:Did you restart the cron daemon?
Yes, I did.
RomanHK wrote:Try the "WiFi scheduling for Gargoyle" plugin.
I can't - opkg doesn't work - viewtopic.php?f=5&t=11967

Laiza7i
Posts: 23
Joined: Sat May 05, 2018 5:29 pm

Re: wi-fi cron doesn't work in 1.11

Post by Laiza7i »

After rebooting works fine

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: wi-fi cron doesn't work in 1.11

Post by RomanHK »

Laiza7i wrote:After rebooting works fine
Probably a lack of memory cron daemon crashed and therefore did not work - the problem may be repeated.
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

Post Reply