我对气流还很陌生。我有一个dag文件,希望每30秒对其进行安排。我该怎么做?
from datetime import datetime
from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from airflow.operators.dummy_operator import DummyOperator
from dependency_node import DependencyNode, resolve_dependency_to_edges
import os
FILE_NAME = os.path.basename(__file__).split('.')[0]
default_args = {
"owner": "airflow",
"wait_for_downstream": True,
"start_date": datetime(2019,12,19),
"retries": 0
}
DAG_ARGS = {
"schedule_interval": '*/1 * * * *',
"catchup": False
}
这是我的dag参数的样子,它排定为1分钟,但我想将其排定为30秒。
如果能得到帮助,我将不胜感激