You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Shubham Gupta <sh...@gmail.com> on 2018/08/14 20:30:19 UTC

Schedule Interval in both DAG and task

Hi,

In airflow, both DAG and operator can have schedule intervals. In case both
are specified, what is the default behaviour?

Regards
Shubham Gupta

Re: Schedule Interval in both DAG and task

Posted by Beau Barker <be...@gmail.com>.
I believe schedule_interval was deprecated as an Operator parameter.

From the code:

"schedule_interval is used for %s, though it has been deprecated as a task parameter, you need to specify it as a DAG parameter instead",


> On 15 Aug 2018, at 06:30, Shubham Gupta <sh...@gmail.com> wrote:
> 
> Hi,
> 
> In airflow, both DAG and operator can have schedule intervals. In case both
> are specified, what is the default behaviour?
> 
> Regards
> Shubham Gupta