Closed mikeghen closed 2 years ago
This task involves converting the schedules for each DAG to use a Variable. Create variables like:
distribution-schedule-interval -> "0 * * * *" harvest-schedule-interval -> "0 0 * * *"
Then in the DAGs:
schedule_interval = Variables.get("distribution-schedule-interval", "0 * * * *") dag = DAG("ricochet_stream_watch", max_active_runs=1, catchup=False, default_args=default_args, schedule_interval=schedule_interval)
Nice work @shreyaspapi
This task involves converting the schedules for each DAG to use a Variable. Create variables like:
Then in the DAGs: