Jared 3 năm trước cách đây
mục cha
commit
1c2b5e8c4b
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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