Documentation

kapacitor flux task retry-failed

The kapacitor flux task retry-failed command retries failed Kapacitor Flux task runs.

Usage

kapacitor flux task retry-failed [flags]
  • Copy
  • Fill window

Aliases

  • rtf

Flags

FlagDescription
--afterRetry failed runs that occurred after this time (RFC3339 timestamp)
--beforeRetry failed runs that occurred before this time (RFC3339 timestamp)
--dry-runOutput information about runs that would be retried without retrying the failed runs
-h--helpShow command help
-i--idFlux task ID
--jsonOutput data as JSON
--run-limitMaximum number of failed runs to retry per task (default is 100)
--task-limitMaximum number of tasks to retry failed runs for (default is 100)

Examples

Retry failed Flux task runs for all tasks

kapacitor flux task retry-failed
  • Copy
  • Fill window

Retry failed Flux task runs for a specific task

kapacitor flux task retry-failed --id 000x00xX0xXXx00
  • Copy
  • Fill window

Retry Flux task runs that failed in a specific time range

kapacitor flux task retry-failed \
  --after 2023-01-01T00:00:00Z \
  --before 2023-01-31T00:00:00Z
  • Copy
  • Fill window

View information about failed runs that would be executed

kapacitor flux task retry-failed --dry-run
  • Copy
  • Fill window

Limit the number of tasks to retry failed runs for

kapacitor flux task retry-failed --task-limit 10
  • Copy
  • Fill window

Limit the number of failed runs to retry for each task

kapacitor flux task retry-failed --run-limit 10
  • Copy
  • Fill window

Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

New in InfluxDB 3.2

Key enhancements in InfluxDB 3.2 and the InfluxDB 3 Explorer UI is now generally available.

See the Blog Post

InfluxDB 3.2 is now available for both Core and Enterprise, bringing the general availability of InfluxDB 3 Explorer, a new UI that simplifies how you query, explore, and visualize data. On top of that, InfluxDB 3.2 includes a wide range of performance improvements, feature updates, and bug fixes including automated data retention and more.

For more information, check out: