Edit task-options.md

pull/554/head
pierwill 2019-10-30 11:53:06 -07:00
parent 8958fd2ebd
commit f14bff2a2a
1 changed files with 6 additions and 4 deletions

View File

@ -12,8 +12,8 @@ weight: 105
v2.0/tags: [tasks, flux]
---
Task options define specific information about the task and are specified in your
Flux script or in the InfluxDB user interface (UI).
Task options define specific information about a task.
They are set in a Flux script or in the InfluxDB user interface (UI).
The following task options are available:
- [name](#name)
@ -44,8 +44,6 @@ The interval at which the task runs.
_**Data type:** Duration_
_**Note:** In the InfluxDB UI, the **Interval** field sets this option_.
```js
options task = {
// ...
@ -53,6 +51,10 @@ options task = {
}
```
{{% note %}}
In the InfluxDB UI, the **Interval** field sets this option.
{{% /note %}}
## cron
The [cron expression](https://en.wikipedia.org/wiki/Cron#Overview) that
defines the schedule on which the task runs.