apache/airflow

[AIP-94] airflowctl dags: add next-execution command

Closed

#66,172 opened on Apr 30, 2026

 (1 comment) (0 reactions) (0 assignees)Python (16,781 forks)batch import
area:airflow-ctlgood first issuekind:featurekind:meta

Repository metrics

Stars
 (44,809 stars)
PR merge metrics
 (Avg merge 7d 18h) (834 merged PRs in 30d)

Description

Summary

Add airflowctl dags next-execution --dag-id <dag_id> to airflowctl.

Implementation

  • anything work with single endpoint under operation.py
  • anything needs multiple endpoint or transformation goesn ctl/commands
  • including unit and integration test under airflow-ctl-tests/

Acceptance criteria

  • airflowctl dags next-execution --dag-id my_dag prints the next execution time.
  • Returns a clear message when no upcoming run is scheduled.

Contributor guide