envia.sh 215 Bytes
Newer Older
1
2
3
clear
echo "............script started............"
d=1
Bruno Thomazi Zanette's avatar
Bruno Thomazi Zanette committed
4
while [ true ]
5
6
7
8
9
10
do
	result=`python3 aleatorio.py`
	mosquitto_pub -h 116.203.152.149 -t cosmic -u user -P password -m "$result"
	echo "$d $result"
	((d++))
done