Commit bbe55870 authored by Bruno Thomazi Zanette's avatar Bruno Thomazi Zanette 🎱
Browse files

Bash script que manda mensagem a o servidor, recebendo valores aleatórios do programa aleatorio.py

parent d67f181c
clear
echo "............script started............"
i=0
d=1
while [ $i -le 6 ]
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment