Closed JulV94 closed 8 years ago
Thanks. Unfortunately, we cannot make such assumptions about where people on different OSes have speedtest-cli installed.
A possible alternative to make speedtest-csv a bit smarter is for it to look for speedtest-cli in the same directory as itself and iff found there, then it could use that, and otherwise it falls back to what's on the $PATH.
Next release will look for speedtest-cli
in the directory of speedtest-csv
and only then in the PATH
.
Avoid all the mess of
$PATH
variable when placed in a cronjob due to lack of/usr/local/bin
for thespeedtest-cli
cmd. Avoid things like :