Airflow - Change status of failed task to success using CLI

Viewed 733

I want to change the status of a failed task to success using airflow commands. Is there any way to do that ?


I have tried using backfill command, but it is not working for a failed task.

airflow backfill -t task_abc_1 -s 2020-05-14T07:11:00.285524+00:00 -e 2020-05-14T07:11:04.862958+00:00 -m dag_abc_1
2 Answers

I got it. Below command will help to mark a failed task to success. Thanks all for your response.

airflow run -fAIim dag_abc_1 task_abc_1 2020-05-14T07:11:04

Related