There's been some prior discussion on removing the requirement for a
DAG without a schedule:

- https://issues.apache.org/jira/browse/AIRFLOW-3739
- https://github.com/apache/airflow/pull/5423

But why actually have the requirement at all.

The documentation isn't particularly clear on why we need "start_date"
and the whole idea seems somewhat confusing:

https://airflow.apache.org/docs/apache-airflow/stable/faq.html#what-s-the-deal-with-start-date

Consider:

     croniter("*/5 * * * *", start_time=None).get_next(datetime.datetime)

My UTC time is "2022-05-05T12:22:16.914769" and the above expression
evaluates to:

     2022-05-05T12:25:00

That is, it's nicely aligned as you would expect. I would assume from
reading the code that this carries over to `CronDataIntervalTimetable`
since it uses croniter in exactly this way.

Must we require a "start_date" – ?

Reply via email to