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
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