Page 1 of 1

Does anyone have a finished script? /dev/stdout

Posted: Mon Oct 08, 2018 9:32 am
by Napajedlaci.cz
Hello,
do not have someone ready to load external meteorological data via /dev/stdout ?
I found only the following on the Internet:

Code: Select all

wget -q -O /dev/stdout "http://192.xxx.xxx.xx" | grep   -e "sensor1" -e "sensor2" -e "sensor3" , etc.
sync
# wait 10 s for next read
sleep 10
done
execute scipt as ./myscript