arevindh / pihole-speedtest

Pihole Speedtest Mod
https://arevindh.github.io/pihole-speedtest/
MIT License
215 stars 22 forks source link

Issue - Schedule Not Working #48

Closed gooch4130 closed 4 years ago

gooch4130 commented 4 years ago

Not sure if this is the right spot, but the scheduler does not seem to work. I see the entry in crontab but it has not posted a run since configuring yesterday. I currently have the schedule set to hourly to see if that helps. Manual runs are fine and show in pihole. Let me know what data you need.

0 /1 sudo "/var/www/html/admin/scripts/pi-hole/speedtest/speedtest-official.sh" > /dev/null 2>&1

image

From the below screenshot; these are all manual runs, no 'scheduled' runs are working: image

gooch4130 commented 4 years ago

I changed the Speedtest Mode to python, will see if that makes a difference since it triggers a different script.

UPDATE: works after switching to python. Something not right with the other option (though it does say beta).

arevindh commented 4 years ago

@gooch4130 : Have you installed https://www.speedtest.net/apps/cli ?

Try manually running sudo "/var/www/html/admin/scripts/pi-hole/speedtest/speedtest-official.sh"

Python is less accurate in some situations

gooch4130 commented 4 years ago

@arevindh - I had not installed the CLI. I only followed the install instructions here. I'll install the CLI - that should do it. Thank you for getting back to me!

gooch4130 commented 4 years ago

@arevindh that fixed it; my apologies for not digging more. Closing this out.