What's new

Cron speedtest question

sirbrent

New Around Here
This question is a more of a linux question than a networking question. I have a Ubiquiti EdgeRouter X which runs Debian. I am fairly inexperienced with Linux.

I installed the speedtest-cli tool (https://github.com/sivel/speedtest-cli) I then wrote a small script to run the speedtest, append the output to a log file (with timestamp) and also send the output to syslog.

When I run the script from CLI everything goes as planned (run as admin user, not root). When I set it to run in crontab it appends to log file but does not send to or show in syslog.

I am hoping someone can tell me what I am doing wrong :)

I have attached the tiny script that is being run.
My cron entry is (everyday at 5am):
0 5 * * * bash /home/admin/speedtest_script
 

Attachments

Similar threads
Thread starter Title Forum Replies Date
S Speedtest - Half speed from Lan Routers 4

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top