airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siddharth anand <san...@apache.org>
Subject Re: DAG without a schedule interval?
Date Wed, 03 Aug 2016 00:55:13 GMT
As Max mentioned, you can write :

dag = DAG('ep_reload_data', schedule_interval=None,
default_args=default_args)


-s

On Fri, Jun 10, 2016 at 8:37 AM, Maxime Beauchemin <
maximebeauchemin@gmail.com> wrote:

> schedule_interval=None is supported and works nicely as an externally
> triggered, "on demand" DAG.
>
> An example use case would be a DAG that processes a genome in an
> organization that may have the need to process multiple genomes one day,
> and none another day.
>
> Max
>
> On Fri, Jun 10, 2016 at 7:53 AM, Chris Riccomini <criccomini@apache.org>
> wrote:
>
> > Yes, there was a brief discussion. It's weird, but possible currently, I
> > believe.
> >
> > On Fri, Jun 10, 2016 at 1:24 AM, <hilaviz@gmail.com> wrote:
> >
> > > Is it valid to define a DAG without a schedule interval?
> > > I want tasks that will be executed only from airflow CLI when needed
> > >
> > >
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message