Back to Influxdb

Retry

content/shared/influxdb-v2/reference/cli/influx/task/run/retry.md

latest2.0 KB
Original Source

The influx task run retry command retries to run a task in InfluxDB.

Usage

influx task run retry [flags]

Flags

FlagDescriptionInput type{{< cli/mapped >}}
-c--active-configCLI configuration to use for commandstring
--configs-pathPath to influx CLI configurations (default ~/.influxdbv2/configs)stringINFLUX_CONFIGS_PATH
-h--helpHelp for the retry command
--hostHTTP address of InfluxDB (default http://localhost:8086)stringINFLUX_HOST
--http-debugInspect communication with InfluxDB servers.string
-r--run-id({{< req >}}) Run IDstring
--skip-verifySkip TLS certificate verificationINFLUX_SKIP_VERIFY
-i--task-id({{< req >}}) Task IDstring
-t--tokenAPI tokenstringINFLUX_TOKEN

Examples

{{< cli/influx-creds-note >}}

{{% note %}}

Required permissions

Use an {{% show-in "v2" %}}Operator or{{% /show-in %}} <span>All Access</span> token to retry tasks. {{% /note %}}

Retry a task run
sh
influx task run retry \
  --task-id 0Xx0oox00XXoxxoo1 \
  --run-id ox0Xx0ooxx00XXoo2