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 2021/12/06 12:20:37 UTC

[GitHub] [airflow] eladkal edited a comment on issue #18918: Manual execution of future dated dag succeeds, but none of the tasks actually run

eladkal edited a comment on issue #18918:
URL: https://github.com/apache/airflow/issues/18918#issuecomment-986724879


   Your code indeed doesn't start the task but following code will work:
   
   ```
   with DAG(
       dag_id='future_dag2',
       start_date=datetime(2021, 1, 1),
       schedule_interval=timedelta(weeks=1),
   ) as dag:
   
       DummyOperator(
           task_id='dummy'
       )
   ```
   
   Using dynamic start date isn't recommended it can caused weird issues. We explain this is the [docs](https://airflow.apache.org/docs/apache-airflow/stable/faq.html#what-s-the-deal-with-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