yuqian90 commented on a change in pull request #6943: [AIRFLOW-4495] allow externally triggered dags to run for future exec… URL: https://github.com/apache/airflow/pull/6943#discussion_r362488927
########## File path: airflow/config_templates/default_airflow.cfg ########## @@ -581,6 +581,10 @@ authenticate = False # DAGs submitted manually in the web UI or with trigger_dag will still run. use_job_schedule = True +# Allow externally triggered DagRuns for Execution Dates in the future when True +# Only has effect if: use_job_schedule = False +run_future_exec_dates = False Review comment: If you need to prevent DAGs with schedule_interval being cron expression from being run too early, why not check if the dag.schedule_interval is None? (instead of forcing `use_job_schedule` to be False globally) ? That way you can allow both cron expression and externally triggered DAGs to co-exist. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
