airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bolke de Bruin <>
Subject Re: Cron expression with depends_on_past causing no TIs to be generated
Date Sat, 14 Jan 2017 13:22:53 GMT
You will need to align your start_date with the cron interval. In this case your start date
should include 30 minutes. This is expected behaviour in 1.7.0. and 1.7.1. In master we are
auto aligning the start_date with the interval in the scheduler. However, the dependency checker
doesn’t do this so there it is an issue. I have create AIRFLOW-759 to track this issue.


> On 14 Jan 2017, at 12:43, Sumit Maheshwari <> wrote:
> Found that on our current prod version (1.7.0) and master as well,
> scheduler doesn't fire TIs if *scheduler_interval* is a cron expression and
> *depends_on_past* is True.
> The very simple DAG I used for testing can be found here:
> However it creates new DAG runs as per the scheduler, see this:
> Scheduler logs for the DAG can be seen here:
> Please let me know if this is a know issue, or there are any workaround.
> What we do for workaround is to set *depends_on_past* to *False* at first
> then set it to *True* later.
> Thanks,
> Sumit

View raw message