|
@@ -34,7 +34,7 @@ def job():
|
|
if datetime.date.today().day != 3:
|
|
if datetime.date.today().day != 3:
|
|
print("%s 等待4号执行程序"%datetime_now())
|
|
print("%s 等待4号执行程序"%datetime_now())
|
|
else:
|
|
else:
|
|
- # 连接mysql
|
|
|
|
|
|
+ ## 连接mysql
|
|
MysqlUtil = MysqlUtils(**mysql)
|
|
MysqlUtil = MysqlUtils(**mysql)
|
|
start_date_month = (datetime.datetime.now() + dateutil.relativedelta.relativedelta(months=-2)).strftime(
|
|
start_date_month = (datetime.datetime.now() + dateutil.relativedelta.relativedelta(months=-2)).strftime(
|
|
"%Y%m") + "01"
|
|
"%Y%m") + "01"
|