---
title: kapacitor flux task
description: The kapacitor flux task command and its subcommands manage Flux tasks in Kapacitor.
url: https://docs.influxdata.com/kapacitor/v1/reference/cli/kapacitor/flux/task/
estimated_tokens: 497
product: Kapacitor
version: v1
publisher: InfluxData
canonical: https://docs.influxdata.com/kapacitor/v1/reference/cli/kapacitor/flux/task/
date: '2023-10-03T10:49:57-06:00'
lastmod: '2023-10-03T10:49:57-06:00'
---

The `kapacitor flux task` command and its subcommands manage Flux tasks in Kapacitor.

## Usage

```sh
kapacitor flux task [subcommand] [flags] [arguments]
```

## Subcommands

|                                 Subcommand                                  |               Description                |
|-----------------------------------------------------------------------------|------------------------------------------|
|      [create](/kapacitor/v1/reference/cli/kapacitor/flux/task/create/)      |            Create a Flux task            |
|      [delete](/kapacitor/v1/reference/cli/kapacitor/flux/task/delete/)      |            Delete Flux tasks             |
|                                   help, h                                   |List commands or return help for a command|
|        [list](/kapacitor/v1/reference/cli/kapacitor/flux/task/list/)        |             List Flux tasks              |
|         [log](/kapacitor/v1/reference/cli/kapacitor/flux/task/log/)         |           View Flux task logs            |
|[retry-failed](/kapacitor/v1/reference/cli/kapacitor/flux/task/retry-failed/)|       Retry failed Flux task runs        |
|         [run](/kapacitor/v1/reference/cli/kapacitor/flux/task/run/)         |          Manage Flux task runs           |
|      [update](/kapacitor/v1/reference/cli/kapacitor/flux/task/update/)      |            Update a Flux task            |

## Flags

|Flag|        |   Description   |
|----|--------|-----------------|
|`-h`|`--help`|Show command help|
| Subcommand | Description |
| --- | --- |
| Subcommand | Description |
| create | Create a Flux task |
| delete | Delete Flux tasks |
| help, h | List commands or return help for a command |
| list | List Flux tasks |
| log | View Flux task logs |
| retry-failed | Retry failed Flux task runs |
| run | Manage Flux task runs |
| update | Update a Flux task |

| Flag |  | Description |
| --- | --- | --- |
| Flag |  | Description |
| -h | --help | Show command help |
