Jared 2 سال پیش
والد
کامیت
1c2b5e8c4b
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  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