Tasks
Configure Vision tasks on this tab. View, edit, and delete tasks on the View subtab and add new tasks on the Add subtab.
View
View, edit, and delete tasks on this subtab.
To open this subtab:
-
From the main navigation menu, select Analytics, then Vision, and then Configuration.
The Vision Configuration UI opens.
-
In the list of sections, click Tasks.
You can sort the list of tasks by clicking on a column. The table contains the following columns:
-
Name: The name of the task.
-
Cron Expression: The CRON expression specifying how often to run the task.
-
Cron Description: A human-readable version of the CRON expression. You cannot edit this directly. Instead, when you change the CRON expression and refresh the table, this value is automatically updated.
-
Type: The type of task. Values are:
-
galileo: A request to a Vision endpoint.
-
rest: A request to a REST endpoint.
-
script: A task that runs a script file.
-
-
Path: For galileo and rest tasks, the URL to the endpoint. For script tasks, the location of the file on the file system.
-
Username: The username to access the endpoint.
-
Password: The password for the user accessing the endpoint.
-
Method: The HTTP method type. Only used for the galileo and rest tasks.
-
Description: A description of what job the task is performing.
-
Enabled: Whether or not the task is currently set to be run at the interval defined in the CRON expression.
To edit a task:
-
Click the pencil on the end of the task's row.
-
Click the column you want to edit.
-
Change the value.
-
Click the checkmark.
A dialog box appears, asking you to confirm the change.
-
Click Edit Item to confirm.
Add
Add new tasks on this subtab.
To open this subtab:
-
From the main navigation menu, select Analytics, then Vision, and then Configuration.
The Vision Configuration UI opens.
-
In the list of sections, click Tasks.
-
Click the Add tab.
Tip:
Click the Display Help toggle for information about the fields on this subtab.
To add a task:
-
Enter values for the following fields:
-
Task name
-
Task description
-
Task type
-
Request method (not required for the Script task type)
-
Task command/path
-
Username
-
Password
-
Cron expression
-
-
Click Add task.
Note:
You can have only one CRON task for weather stations. You cannot add new tasks for the https://<vision-io-host>:<vision-io-port>/weather/weatherStations/retrieve
path.