1. Learn
  2. /
  3. Courses
  4. /
  5. Python으로 배우는 Apache Airflow 입문

Connected

Exercise

Schedule a Dag via Python

You've learned quite a bit about creating Dags, but now you would like to schedule a specific Dag on a specific day of the week at a certain time. You'd like the code to include this information in case a colleague needs to reinstall the Dag to a different server.

The Airflow dag object and the appropriate datetime methods have been imported for you.

Instructions

100 XP
  • Set the start date of the Dag to November 1, 2025.
  • Use the cron syntax to configure a schedule of every Wednesday at 12:30pm.