Hey Jelez, > How can I interrupt the execution of the tasks temporarily while the DAG is running?
There is an on/off toggle next to each DAG in the UI. If you toggle it to off, all execution of the DAG will cease (even if the DAG run is halfway through executing). This will not kill any currently running tasks, but no future tasks will get scheduled for it. > How can I just stop the DAG execution and reset it in case I find a problem that need to be fixed and then re-run the DAG? See above on how to stop the DAG execution. You can also use the UI in the `tree view` page to clear the status of a task, so that it can be re-run. Do this by clicking on the square of the task that you want to clear, and then clicking the 'Clear' button. Note: if you do this on a task that's currently running (bright green square), Airflow will attempt to kill the task off when it clears the status--this is the second part of the answer to your question above. Cheers, Chris On Sun, May 15, 2016 at 11:39 AM, Raditchkov, Jelez (ETW) < [email protected]> wrote: > I have a with 200 tasks. > > > 1. How can I interrupt the execution of the tasks temporarily while > the DAG is running? > > > 2. How can I just stop the DAG execution and reset it in case I find > a problem that need to be fixed and then re-run the DAG? > > > Thanks! > >
