Parth Shah
Parth Shah

Reputation: 1475

Triggering a DAG manually runs it on UTC schedule

I recently upgraded my airflow to 2.2.4. Now, from my admin console when I hit trigger DAG, it goes to queued. It does not immediately run but runs after 7 hours. The airflow scheduler and server are in the PDT timezone (7 hours behind UTC) so why is it triggering the DAG 'now' as UTC 'now' and not the set PDT timezone?

My airflow.cfg has default_timezone and default_ui_timezone set to America/Los_Angeles

Upvotes: 0

Views: 258

Answers (1)

B.B
B.B

Reputation: 51

You have to set default_timezone in the Airflow configuration. By default its value is UTC. See : https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#default-timezone

Upvotes: 1

Related Questions