Error: No run dates were found for the given dates and dag interval

Viewed 132

I'm trying to run airflow DAG with:

my_dag = DAG(dag_id='my_dag', schedule_interval=None, start_date=days_ago(10),)
my_dag.clear(start_date=days_ago(10))
my_dag.run()

The DAG didn't start and I'm getting message:

{backfill_job.py:789} INFO - No run dates were found for the given dates and dag interval.

What is missing ?

1 Answers

give schedule_interval a very large num, like timedelta(days=10086).

Related