You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/26 15:16:55 UTC

[GitHub] [airflow] vxtals opened a new issue #21128: Dag with @monthly schedule triggers before complete period ends

vxtals opened a new issue #21128:
URL: https://github.com/apache/airflow/issues/21128


   ### Apache Airflow version
   
   2.2.2
   
   ### What happened
   
   Today, 2022-01-26, I created a dag with start_date '2021-12-01 11:09:00' and a schedule_interval '@monthly'. I understand this is expected to execute for the first time on february 1st, because at '2022-01-01 0:00:00', the month period is not completed yet. But it started as soon as I turned it on. 
   
   Is this ok?  
   
   ### What you expected to happen
   
   Scheduled execution shouldn't happen until february 1st, when there is a completed period.
   
   ### How to reproduce
   
   [test_trigger.txt](https://github.com/apache/airflow/files/7942850/test_trigger.txt)
   
   Change this Dag file extensión to .py and add it to your dags folder.
   
   ### Operating System
   
   macos locally and redhat ubi-minimal in production
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org