🌀 Airflow schedule_interval, decoded.
Airflow DAGs take a cron string or a preset (@daily, @hourly, …) in the schedule argument: Airflow 3 removed the older schedule_interval name. The time zone comes from a time-zone-aware start_date (or the default UTC).
Airflow DAG Generator
Common Airflow DAG schedules.
| Expression | What it means | Typical use |
|---|---|---|
*/15 * * * * |
Every 15 minutes | Streaming-like incremental loads. |
0 */6 * * * |
Every 6 hours | Periodic data refresh. |
0 0 * * * |
Daily at midnight | Classic ETL window. |
0 2 * * * |
Daily at 2 AM | Off-hours batch. |
0 0 * * 0 |
Weekly on Sunday | Weekly aggregations. |
@daily |
Macro shorthand | Equivalent to 0 0 * * *. |
Click any expression to load it into the tool above.
Airflow DAG FAQs.
start_date is when the DAG becomes eligible to run; schedule says how often. In Airflow 3 a cron string runs at the cron time itself (CronTriggerTimetable). Airflow 2 ran each run at the END of its interval, not at the start.
Airflow's default timezone is UTC. Even if your machine is in another timezone, scheduled runs follow UTC unless you set start_date=pendulum.datetime(..., tz="...") on a timezone-aware date.
Yes: set schedule=None (the default in Airflow 3), or use @once for one-time runs. The DAG remains visible but only runs when triggered manually.
catchup=True backfills all missed runs from start_date to now (the default in Airflow 2; Airflow 3 defaults to False). catchup=False only schedules from now forward. For most production DAGs, set catchup=False unless you specifically want backfills.
Yes, Airflow uses the pendulum library which accepts IANA names like "America/New_York", "Asia/Tokyo", etc.