run extrnal command on complete

Windows specific questions, problems.
Post Reply
aihysp

run extrnal command on complete

Post by aihysp »

hello i am using this to unrar anything that i download
"/usr/local/bin/unrar" x -ibck -inul "%F/*.r*" "%F/"

its working great but i want to send an MQTT to my homeatumation server also

what will be the syntex?

i have tried so many but nothing works

"/usr/local/bin/unrar" x -ibck -inul "%F/*.r*" "%F/"; mosquitto_pub -h localhost -t test -m "{\"value1\":20,\"value2\":$var1}"

trying to achive somthing like this
Post Reply