--- title: tasks package description: > The `tasks` package provides tools for working with InfluxDB tasks. menu: flux_v0_ref: name: tasks parent: influxdata/influxdb identifier: influxdata/influxdb/tasks weight: 31 cascade: introduced: 0.84.0 --- The `tasks` package provides tools for working with InfluxDB tasks. Import the `influxdata/influxdb/tasks` package: ```js import "influxdata/influxdb/tasks" ``` ## Options ```js option tasks.lastSuccessTime = _zeroTime ``` ### lastSuccessTime `lastSuccessTime` is the last time this task ran successfully. ## Functions {{< children type="functions" show="pages" >}}