I need to run a DAG exactly once, but waiting 10 minutes before:
with models.DAG(
'bq_executor',
schedule_interval = '@once',
start_date= datetime().now() + timedelta(minutes=10) ,
catchup = False,
default_args=default_dag_args) as dag:
// DAG operator here
but I can't see the execution after 10 minutes. Something wrong with start_date
?
If I use schedule_interval = '*/10 * * * *'
and start_date= datetime(2019, 8, 1)
(old date from now), I can see the excution every 10 minutes