Flux InfluxDB Tasks package

The Flux InfluxDB Tasks package provides options and functions for working with InfluxDB tasks. Import the influxdata/influxdb/tasks package:

import "influxdata/influxdb/tasks"


The InfluxDB Tasks package provides the following options:


Define the time of the last successful task run. Only use this option to override the time of the last successful run provided by the InfluxDB task engine.

import "influxdata/influxdb/tasks"

option tasks.lastSuccessTime = 0000-01-01T00:00:00Z


Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: