简体   繁体   中英

Airflow dag run at exact time

I have some DAGs in airflow that I wanna to execute in a exact time (like 9:05 every day exactly) and not between a interval date. How can I do this?

You could use a cron expression for your DAG's schedule_interval .

dag = DAG(..., schedule_interval="5 9 * * *", ...)

A great tool to check cron expressions is crontab.guru .

This guide discusses scheduling in Airflow more broadly too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM