Hello all,

At the moment some schedules are not possible in Airflow, for example,
"every 10 min between 16:30 and 18:10". Such schedules would be
possible if Airflow supported multiple cron expressions, as described
in https://github.com/apache/airflow/issues/8649. In the issue, I was
suggested to bring the discussion here because this may not be a
desirable feature.

In terms of implementation, I gave the idea a try and I have something
working. For that, besides str, timedelta and relativedelta, a
schedule interval can also be a list of strings representing cron
expressions. There is a class that is a composite of croniter objects
and providing the same methods. It works seamlessly for one or many
cron expressions, so changes in the scheduler code are mostly
replacing croniter with this class.

I can create a PR if there is interest in discussing the
implementation, but first I would like to learn opinions about this
feature? Is it an idea worth following?

Thanks,
Mauricio

Reply via email to