SpeedTest shell script. Install the SpeedTest cli
sudo pip3 install speedtest-cli
Upload to AWS S3 using s3cmd
sudo pip3 install s3cmd
Add the following line to the crontab (crontab -e) for a check every hour at the 20th minute:
20 * * * * sudo sh /home/pi/Desktop/speedtest.sh