1.3 KiB
1.3 KiB
title | description | menu | ||||||
---|---|---|---|---|---|---|---|---|
Using tasks | This is just an example post to show the format of new 2.0 posts |
|
A task is a scheduled Flux query. Main use case is replacement for continuous queries, add info about CQs.
To filter the list of tasks:
- Enable the Show Inactive option to include inactive tasks on the list.
- Enter text in the Filter tasks by name field to search for tasks by name.
- Select an organization from the All Organizations dropdown to filter the list by organization.
- Click on the heading of any column to sort by that field.
To import a task:
- Click the Tasks (calendar) icon in the left navigation menu.
- Click Import in the upper right.
- Drag and drop or select a file to upload.
- !!!
To create a task:
- Click + Create Task.
- In the left sidebar panel, enter the following details:
- Name: The name of your task.
- Owner: Select an organization from the drop-down menu.
- Schedule Task: Select Interval for !!!! or Cron to !!!. Also enter value below (interval window or Cron thing).
- Offset: Enter an offset time. If you schedule it to run at the hour but you have an offset of ten minutes, then it runs at an hour and ten minutes.
- In the right panel, enter your task script.
- Click Save.
Disable tasks