设置执行时间,每月10号0点

This commit is contained in:
zhaojixiang@fangjia.com
2023-08-01 13:14:45 +08:00
parent c4e9f38b51
commit 339c84ea24
2 changed files with 8 additions and 36 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ from airflow import DAG
with DAG(
dag_id="samples_notice_dag",
# 每月1日1点运行
schedule_interval="0 1 1 * *",
# 每月10日1点运行
schedule_interval="0 0 10 * *",
start_date=pendulum.datetime(2023, 8, 1, tz="Asia/Shanghai"),
catchup=True,
description="样本数量监控提醒"