Big +1 to anything that extends the limitations of Airflow's current scheduling capability.
For me the only drawback of this is it doesn't go far enough and further additions would needed to be added later, it would still be difficult to express things that require updatable calendars like "Every Business Day" or things which are hard to express even with composible crontabs likes "The first week day of the month". But if this is an easy win I hope it's taken seriously. Damian. -----Original Message----- From: Mauricio De Diana <mdedi...@gmail.com> Sent: Wednesday, May 27, 2020 14:27 To: dev@airflow.apache.org Subject: Support for multiple cron expressions 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 =============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ===============================================================================