diff --git a/mqtt_srv.py b/mqtt_srv.py index 8ab2e98..22901cd 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -734,7 +734,7 @@ def on_message(client, userdata, msg): tright = config['morefine']['tright'] left = config['morefine']['left'] mid = config['morefine']['mid'] - myCmd = "bash /home/jd/test.sh" + myCmd = "bash /myapps/mqtt_srv/get_monitors.sh" status, output = subprocess.getstatusoutput(myCmd) f = open( "/tmp/monitors.txt" ) contents = f.read().splitlines()