pull/2820/head
mluu12 2021-07-08 12:55:33 -07:00
parent 71724497cc
commit 052de7b5d3
1 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,9 @@ option task = {
## every
The interval at which the task runs. This option also determines when the task first starts to run, depending on the specified time([duration literal](/influxdb/cloud/reference/flux/language/lexical-elements/#duration-literals)).
The interval at which the task runs. This option also determines when the task first starts to run, depending on the specified time (in [duration literal](/influxdb/cloud/reference/flux/language/lexical-elements/#duration-literals)).
_**Data type:** Duration_
_**Data type:** Duration_
```js
option task = {
@ -52,7 +52,7 @@ option task = {
```
For example, if you save or schedule a task at 2:30 and run the task every hour (`1h`):
`option task = {name: "aggregation", every: 1h}`
The task first executes at 3:00pm, and subsequently every hour after that.