New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shedule task not start #5184
Comments
How it says is how it works. You could also control interfaces instead of wifi globally this will only disable some wifi interfaces and leave the other's active: #0/10 23 * * * uci set wireless.wifinet2.disabled=1; uci commit; wifi |
But it not need be empty, i say every time. |
So you want the wording to be updated if it is not empty and running it will say somthing else ? |
Yes, restarting not need do once, it need do evert time. Reproduce problem. Step 1. 00 10 * * * /sbin/wifi down /etc/init.d/cron restart Step2. 05 10 * * * /sbin/wifi down It not working, wifi state not change timed. Step3. 10 10 * * * /sbin/wifi down /etc/init.d/cron restart Step4. 14 10 * * * /sbin/wifi down /etc/init.d/cron restart Step5. 16 10 * * * /sbin/wifi down /etc/init.d/cron restart Step6. 20 10 * * * /sbin/wifi down It not working, wifi state not change timed. |
That wont work if devices are associated with the connection at the time of shutdown you are using the wrong command. Instead use below like I said above and it will force off the wifi interface even if clients are connected This is my wirless config and I want to turn off the kids5g interface so I use wireless.wifinet 2 interface
The below pasting in my interface name it will turn off at 11pm and 11:10 pm: The reason i have pasted in 0 and 10 minutes if for some reason the kids get smart and turn off the router at 11pm it will miss the cron job and it will then work again 10 minutes later to fool the kids :-)
But to be honest it is probally better to put up a firewall rule to just block outbound traffic to WAN it will effectivly do the same thing. |
Don‘t add leading zeroes to your time specs. Also not LuCi related. |
I agree this is not luci related but he does I think make a point that the note does not change if the service is running. |
In sheduled tasks show note "Note: you need to manually restart the cron service if the crontab file was empty before editing."
I have TP-link c7 v2 and i must do manual Cron restart every time i change shedule time or something there.
I hope add automated cron restart every time i press save button. Then this cause smaller amount confused questions with new users like me.
Device: TP-link C7 V2
Version : openwrt-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade (10.july.2021)
The text was updated successfully, but these errors were encountered: