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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]