Jared %!s(int64=2) %!d(string=hai) anos
pai
achega
1c2b5e8c4b
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      monitor/test_wd.py

+ 5 - 1
monitor/test_wd.py

@@ -86,7 +86,11 @@ def process_query(qs):
     lenelmts=len(elmts)
     print('搜尋結果數量',lenelmts)
     if lenelmts <=0:
-        os.system('docker container restart p4444')
+        os.system('python3 tplink_reboot.py')
+        time.sleep(200)
+        os.system('netsh wlan connect TP-Link_78E0')
+
+#        os.system('docker container restart p4444')
         return