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"
Options
The InfluxDB Tasks package provides the following options:
lastSuccessTime
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