Re: A DAG with two schedules

2019-01-14 Thread Brian Greene
You could have 2 “trigger dags” on different schedules triggering the one that you’re interested in. If you needed task selection in the target based on schedule, you could branch around tasks based on the DagRun. Sent from a device with less than stellar autocorrect > On Jan 13, 2019, at 9

Re: A DAG with two schedules

2019-01-14 Thread Ash Berlin-Taylor
No, the schedule is a property of the DAG, so you can't. If one schedule is a subset of the other you could look at using the branching operator to "skip" one of the tasks sometimes: https://airflow.apache.org/concepts.html?highlight=branch#branching https://airflow.apache.org/code.html?highligh

A DAG with two schedules

2019-01-13 Thread sanjay . invs
Hi Can i schedule two set of tasks with different schedules in a DAG ? I'm not sure of the above and i understand that's not possible, Please advise. Regards Sanjay