Internetaussetzer_aufzeichnen/speedtest.sh

11 lines
174 B
Bash
Raw Normal View History

2021-06-09 18:27:39 +00:00
#!/bin/bash
if ping -c 1 o2.de &> /dev/null
then
date +"%D %T" >> ./speed.log
speedtest-cli --simple >> ./speed.log
echo "" >> ./speed.log
fi