Best practices for start_date and schedule_interval

Hey guys,

I want to create a DAG that will run daily at 7am UTC. What’s the best practice to define the start_date and schedule_interval?

start_date = datetime(2021, 12, 21)
schedule_interval = "00 07 * * *"

or

start_date = datetime(2021, 12, 21, 7)
schedule_interval = "@daily"

Hi Mcamera,

Internally @daily maps to 0 0 * * *, so defining it explicitly is the way to go.

The start date has no control over schedule_interval except stating when to start taking schedule into account