소스 검색

每月2日备份表,新增备份custom_persist_target表

李莎 2 년 전
부모
커밋
609d1d813d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main.py

+ 1 - 1
main.py

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