Complete the code to schedule a DAG to run every day at midnight using a cron expression.
schedule_interval = '[1]'
The cron expression 0 0 * * * means the task runs daily at midnight (00:00).
Complete the code to schedule a DAG to run every Monday at 6 AM.
schedule_interval = '[1]'
The cron expression 0 6 * * 1 means the task runs at 6:00 AM every Monday (day 1 of the week).
Fix the error in the cron expression to run a DAG every 15 minutes.
schedule_interval = '[1]'
The correct cron expression for every 15 minutes is */15 * * * *. It means every 15 minutes at any hour, day, month, and weekday.
Fill both blanks to schedule a DAG to run at 3:30 PM on the 1st day of every month.
schedule_interval = '[1] [2] 1 * *'
The minute field should be 30 and the hour field 15 (3 PM in 24-hour format). The rest means every 1st day of the month.
Fill all three blanks to schedule a DAG to run every weekday at 8:00 AM.
schedule_interval = '[1] [2] * * [3]'
The minute is 0, hour is 8 (8 AM), and day of week is 1-5 which means Monday to Friday (weekdays).