hussein-awala commented on issue #32937: URL: https://github.com/apache/airflow/issues/32937#issuecomment-1656933120
> print(datetime.datetime.now(), datetime.datetime.utcnow()) 2023-07-29 21:01:51.339089 2023-07-29 21:01:51.339093 In your case they have the same value, it could be related to your [default-timezone](https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/timezone.html#default-time-zone). > It still doesn't make sense why only 1 dag run out of 40 submitted at the same time If you use `datetime.now()` for both parameters, there is a small chance that the scheduler processes the DagRun too fast because it's not overloaded, in this case, the two values could be equals. Using a variable date for dag `start_date` is a bad practice, and using `datetime.now()` as the value for that variable is worse. It would be better if you could use a fixed value, and if not, you can set it to `datetime.now() - timedelta(hours=1)` or `pendulum.yesterday()`. Could you test this before reopening the issue? -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
