Airflow 气流表\u间隔不工作

Airflow 气流表\u间隔不工作,airflow,Airflow,我的狗是这样的 dag = DAG('testing',description='Testing DAG',schedule_interval='0 4,15 * * *') t1 = BashOperator(task_id = 'testing_task',bash_command = 'python /home/ubuntu/airflow/dags/scripts/test.py',dag=dag, start_date=datetime(2018, 2, 8)) 我想把它安排在每天

我的狗是这样的

dag = DAG('testing',description='Testing DAG',schedule_interval='0 4,15 * * *')

t1 = BashOperator(task_id = 'testing_task',bash_command = 'python /home/ubuntu/airflow/dags/scripts/test.py',dag=dag, start_date=datetime(2018, 2, 8))
我想把它安排在每天下午3点和凌晨4点运行,我把AWS实例的本地时区改为新西兰

在airflow web UI的右上角,我仍然可以看到airflow显示UTC时间。但是,如果我看到DAG的最后一次运行(我的手动运行UI),它将显示NZ时间。所以我假设调度在本地时区(新西兰时间)工作,所以尝试在该时区进行调度,但没有按时触发。这项工作没有按时完成。如何解决这个问题

谢谢,

现在(从Airflow 1.9开始)Airflow仅在UTC运行。目前的“解决方案”是将时间表设置为UTC,尽管这很可怕

好消息是,主分支(将在下一个非点发行版中,Airflow 1.10)支持时区