wahsmail edited a comment on issue #15752:
URL: https://github.com/apache/airflow/issues/15752#issuecomment-844566053


   I found the issue. In 
[utils.dates.py#L109](https://github.com/apache/airflow/blob/master/airflow/utils/dates.py#L109),
 cron iter is returning a `datetime.datetime(2021, 4, 24, 0, 0)` when the 
initial start_date (after making naive) was `datetime.datetime(2021, 4, 23, 
**5**, 0)`. So when this date range is passed to the DagRun.find() method to 
query the database, it only finds a single execution date, the initial one with 
hour=5.
   
   I have schedule_interval is `0 0 * * *` and the server's timezone is Chicago 
time (UTC-5)
   
   Tagging some contributors to utils.dates.py for visibility: @Rcharriol 
@bolkedebruin , sorry for the spam


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to