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/02/24 18:02:42 UTC

[GitHub] [airflow] potiuk edited a comment on issue #10824: Airflow scheduler does not trigger when schedule_interval is @weekly OR (montlhy) "0 3 1 * *".

potiuk edited a comment on issue #10824:
URL: https://github.com/apache/airflow/issues/10824#issuecomment-1050117293


   > 'start_date': airflow.utils.dates.days_ago(1),
   
   Don't use "days_ago" -> this is confusing *and you just experienced this very confusion*. We are actually deprecating days_ago and already removed it from all examples. Used fixed date for it (6/12/2021) - see our examples.
   
   The way you specified it "days_ago(1)" is yesterday. EVERY SINGLE DAY IT IS `YESTERDAY`. 
   This means that start_date literally changes every single day.
   
   When you want a dag that should start running 6th of December - make it so explicitly - look at our fresh examples where date is fixed - and set it to 6/12/2021 explicitly. See examples how to it for example here: https://airflow.apache.org/docs/apache-airflow/stable/best-practices.html?highlight=start_date
   
   
   
   


-- 
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