To create a new task schedule, add one of the ‘Task’ parameters to the system parameters. Below is a list of all of the parameters relating to the task. Don't forget to disable (or change) the heartbeat period if it is not required.
- Period: The time period between task executions. The unit of the valid is set by the period unit parameter. Setting to 0 disables the task schedule.
- Period Unit: This can be in seconds, minutes, hours or days. There is also an extra unit called minutes (synced) which allows for tasks to synchronized to the hour to allow for ‘nice’ execution times. For example, 15 min (synced) will execute at 00:00, 00:15, 00:30, 00:45, etc. The other methods will be synchronized to whenever the device first had its time set. For example, if the device first received the time at 2:18, the events would then occur at 2:33, 2:48 3:03 etc. "Disable" disables the task schedule.
- Upload Multiplier: The number of task executions before triggering an upload. A setting of 4, for example, will upload every 4 times the task is executed. Uploads will only be triggered after all task items have completed, for example after an SDI-12 sample has finished, etc. This effect is common across tasks, ie. if multiple tasks schedules are executed at the same time, an upload will only occur if all of them complete.
- Start & End Period: Define a specific period of the day in which the task can execute. This setting is in hours of the day. Set both to 0 to disable the time period (task will be run all day). By setting the start time to be greater than the end time, the period will occur through midnight. Note: This is in UTC standard time (GMT).
- Item Type & Params: Set what actually occurs when the task is executed. The item parameters are dependent on the item type, and most do not require these parameters at all (currently only set/pulse digout1). Unused items should be set to none. These tasks items may require extra setting up in their respective tabs, so check to see if there is an extra parameter for them.