"Clearing" a running task instance either through the UI or through the CLI should trigger on_kill.
Max On Wed, Sep 6, 2017 at 11:45 AM, Richard Baron Penman <[email protected]> wrote: > Hello, > > Is there a way to trigger the on_kill() method of an operator through the > UI? > I tried changing the state of a running task and deleting it, but neither > approach triggered the on_kill() method and so the process was still > running. > > Similar question was asked on SO: > https://stackoverflow.com/questions/43626844/kill-the- > airflow-task-running-on-a-remote-location-through-airflow-ui > > Richard >
