0

I have a DAG with start date as 2021-09-16 , and schedule interval as '0 8 * * *'. So on 17th date , i see airflow schedule runs for 16th date.

Can anyone help me how to overcome this, I want to execute 17th date data on 17th date.

Olaf Kock
  • 46,930
  • 8
  • 59
  • 90
Shanmukh S
  • 81
  • 1
  • 9

1 Answers1

0

This is how Airflow works. DAGs are scheduled at the END of the interval. You can read this answer for more information about it.

That said for Airflow 2.2.0 release which is now in beta testing includes AIP-39 Richer scheduler_interval which decouples the "when to run" from the "what data window to process". So in the near future what you are asking for will be possible.

Elad Kalif
  • 14,110
  • 2
  • 17
  • 49