SpinTheMic
Pro

Interview practice question

DAG running at the wrong local time

Data Engineering · Airflow · Beginner

A DAG scheduled for "0 6 * * *" runs at 6 AM UTC, but the business expected 6 AM in New York. How do you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Airflow schedules in UTC by default.
  • Set a timezone-aware start_date with pendulum.
  • Cron then follows local time including daylight saving.
  • Store and display timestamps consistently.
  • Document the schedule's timezone.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics