Airflow调度最小单位分钟
# ┌───────────── minute (0 - 59) #分钟
# │ ┌───────────── hour (0 - 23) #小时
# │ │ ┌───────────── day of the month (1 - 31) #天
# │ │ │ ┌───────────── month (1 - 12) #月
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; #星期
# │ │ │ │ │ 7 is also Sunday on some systems)
# │ │ │ │ │
# │ │ │ │ │
# * * * * * <command to execute> 执行命令
例子:
schedule_interval=None #不需要定时执行,手动触发
schedule_interval=0 * * * * #表示每小时0分运行一次
schedule_interval=30 0 * * * #表示每天在0点30分运行一次
schedule_interval=30 0 * * 0 #表示每周周日0点30分运行一次
schedule_interval=0 0 1 * * #表示每月第1天0点0分运行一次
schedule_interval=0 0 1 */3 * #每季度在第1天的0点0分运行一次
schedule_interval=0 0 1 1 * #表示每年1月1日0点0分运行一次