Starting minute within hour (to deconflict with other cron jobs)Schedule customisation, what do people want?
?
- Option to disable automatic tests
- Configuration of test frequency
- Configuration of allowed times for automatic tests
So option 2. I'll probably implement cron control of minutes and hours. Will that be sufficient?Starting minute within hour (to deconflict with other cron jobs)
So option 2. I'll probably implement cron control of minutes and hours. Will that be sufficient?
Can you remind me of which model router you have please?Okay, so decided to move my issue here. Even after leaving the script to run on its own via cron, I'm still getting some weird results.
Here's the image link in case it doesn't load: https://imgur.com/a/P5yUAxf
Since it seems to affect you both manually and via cron, it shouldn't matter. I did check the code and running a test via the ui doed check for an existing running test before launchingFor testing, should I just let the cron fire off?
The problem only happens when:since it seems to affect you both manually and via cron
Have you enabled preferred server for automatic tests? Option 5 i thinkThe problem only happens when:
-the cron fires
-the webpage button is pressed
Using option 2 in the menu (preferred server) brings back normal tests as I expect.
Sure did!Have you enabled preferred server for automatic tests? Option 5 i think
And automatic tests still 0 out with that enabled? It should be no different to a manual run with option 2 at that stage. I'm beginning to suspect the speedtest server is at fault hereSure did!
I doubt the server is at fault since I've been able to run several successful tests manually without issue. The problem only happens when the speedtest is called by cron. Funnily enough, it was working fine before installing the connmon script, but I think an update came out for this one around the same time. I'm gonna go out on a limb here and say that the update broke something.And automatic tests still 0 out with that enabled? It should be no different to a manual run with option 2 at that stage. I'm beginning to suspect the speedtest server is at fault here
As I say, if you've enabled preferred servers for automatic tests, the command issued by cron is identical to the manual option. The next thing to check is your cron list, perhaps something is running at the same time.I doubt the server is at fault since I've been able to run several successful tests manually without issue. The problem only happens when the speedtest is called by cron. Funnily enough, it was working fine before installing the connmon script, but I think an update came out for this one around the same time. I'm gonna go out on a limb here and say that the update broke something.
The one thing I have yet to attempt is a router reboot, though I don't think that will fix the underlying problem.
cru l
The one thing I have yet to attempt is a router reboot, though I don't think that will fix the underlying problem.
As I say, if you've enabled preferred servers for automatic tests, the command issued by cron is identical to the manual option. The next thing to check is your cron list, perhaps something is running at the same time.
Code:cru l
15 9 * * Mon service reboot #amtm_RebootScheduler#
*/5 * * * * /jffs/scripts/ntpmerlin generate #ntpMerlin#
00 2 * * Tue sh /opt/share/diversion/file/update-bf.div reset #Diversion_UpdateBF#
20 5 * * * sh /opt/share/diversion/file/rotate-logs.div #Diversion_RotateLogs#
20 17 * * * diversion count_ads count #Diversion_CountAds#
30 3 * * * /jffs/scripts/FreshJR_QOS -check #FreshJR_QOS#
25 3 * * * sh /jffs/scripts/firewall banmalware #Skynet_banmalware#
25 1 * * Mon sh /jffs/scripts/firewall update #Skynet_autoupdate#
0 * * * * sh /jffs/scripts/firewall save #Skynet_save#
*/5 * * * * /jffs/scripts/connmon generate #connmon#
12,42 * * * * /jffs/scripts/spdmerlin generate #spdMerlin#
Nothing amiss there. Can you run option u please, just to make sure the script is intact? It'll md5 check it against the sourceCode:15 9 * * Mon service reboot #amtm_RebootScheduler# */5 * * * * /jffs/scripts/ntpmerlin generate #ntpMerlin# 00 2 * * Tue sh /opt/share/diversion/file/update-bf.div reset #Diversion_UpdateBF# 20 5 * * * sh /opt/share/diversion/file/rotate-logs.div #Diversion_RotateLogs# 20 17 * * * diversion count_ads count #Diversion_CountAds# 30 3 * * * /jffs/scripts/FreshJR_QOS -check #FreshJR_QOS# 25 3 * * * sh /jffs/scripts/firewall banmalware #Skynet_banmalware# 25 1 * * Mon sh /jffs/scripts/firewall update #Skynet_autoupdate# 0 * * * * sh /jffs/scripts/firewall save #Skynet_save# */5 * * * * /jffs/scripts/connmon generate #connmon# 12,42 * * * * /jffs/scripts/spdmerlin generate #spdMerlin#
No new version - it says.Nothing amiss there. Can you run option u please, just to make sure the script is intact? It'll md5 check it against the source
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
vnStat Exclude spdMerlin from vnStat reports | Asuswrt-Merlin AddOns | 3 | ||
Router Speed Test (spdMerlin) | Asuswrt-Merlin AddOns | 5 | ||
D | Skynet, speedtests, CGNAT | Asuswrt-Merlin AddOns | 3 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!