Przeglądaj źródła

每月2日备份表

李莎 2 lat temu
rodzic
commit
ea20824ca5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -30,7 +30,7 @@ end_date_month = (datetime.datetime.now() + dateutil.relativedelta.relativedelta
 # start_date_month = "20220903"
 # start_date_month = "20220903"
 # end_date_month = "20230201"
 # end_date_month = "20230201"
 def job():
 def job():
-    if datetime.date.today().day != 1:
+    if datetime.date.today().day != 2:
         print("%s 等待1号执行程序"%datetime_now())
         print("%s 等待1号执行程序"%datetime_now())
     else:
     else:
         # 连接mysql
         # 连接mysql