Reputation: 1958
If a chron schedule exists for a given Airflow DAG to launch every month on the 1st at 6am like this: 0 6 * * 1 And the start date is March 1st 2020, then in theory the DAG will only launch April 1st 2020 to cover the entire period as per the documentation.
1) However, what if I wanted the DAG to launch on March 1st? Is there a way to set the DAG's start date to March 1st with an option to run as normal but to include the start date?
2) If I manually launch the DAG on April 3rd, will the DAG still automatically launch as per the chron schedule on May 1st, or skip it, seeing as how an execution took place within the period that May is supposed to cover?
Upvotes: 1
Views: 504
Reputation: 7795
BTW: The schedule "0 6 * * 1" that you mentioned means "At 06:00 on Monday." "At 06:00 on the first day of a month" is "0 6 1 * *".
Upvotes: 3