Hey there Chris,

I agree that's a solid use case--mine is more development-oriented. Rather
than have all DAGs attempt to run upon scheduler start, a developer
probably just wants to observe how one DAG behaves. To that end, a
scheduler startup script can simply pause all DAGs before starting the dev
instance of the scheduler; then the developer can selectively unpause that
DAG via the UI or CLI (assuming those two controls are related).

On Thu, Jun 30, 2016 at 4:06 PM Chris Riccomini <[email protected]>
wrote:

> Hey Tyrone,
>
> This would be a useful feature for us as well. Right now, we just turn the
> scheduler off, which is kind of annoying.
>
> Use case is when things go really haywire (e.g. 100s of failures per
> minute), we just want everything to stop.
>
> Cheers,
> Chris
>
> On Thu, Jun 30, 2016 at 1:02 PM, Tyrone Hinderson <[email protected]>
> wrote:
>
> > Hi, is there a way to "pause" all DAGs via the cli or otherwise?
> >
> > In the same vein, does "airflow pause" flip the same state which is
> flipped
> > by the on/off button next to each DAG in the UI?
> >
>

Reply via email to