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


Set your InfluxDB URL

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.