Run a task

    1. In the navigation menu on the left, select Tasks.

      Tasks

    Run a task with the influx CLI

    Use the influx task run retry command to run a task.

    Authentication credentials

    The examples below assume your InfluxDB host, organization, and token are provided by the active influx CLI configuration. If you do not have a CLI configuration set up, use the appropriate flags to provide these required credentials.

    Use the to retry failed task runs.

    1. # Retry failed tasks for a specific task
    2. influx task retry-failed \
    3. # Print information about runs that will be retried
    4. influx task retry-failed \
    5. --dry-run
    6. # Retry failed task runs that occurred in a specific time range
    7. influx task retry-failed \
    8. --after 2021-01-01T00:00:00Z \
    9. --before 2021-01-01T23:59:59Z