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 influxdata/influxdb/tasks package provides the following options:

import "influxdata/influxdb/tasks"

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


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.


Was this page helpful?

Thank you for your feedback!

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.