The scheduler File
One of the files available for editing in the Service Config view > Files tab is scheduler. This file configures the built-in task scheduler for a service. The task scheduler can automatically send messages at predefined intervals or specific times of the day.
Scheduler Task Syntax
A task line in the scheduler file consists of the following syntax, where <Value> has no spaces:
if <Value> has any spaces, this is the syntax:
In each task line, these guidelines apply:
- Parameter time or one of the interval parameters (seconds, minutes or hours) is required.
- Escape special characters with a \ (backslash).
Task Line Parameters
The following task line parameters are accepted by the scheduler.
The following are the message strings to use in the Task Scheduler msg parameter.
Sample Task Line
The following example task line in the scheduler file downloads the feeds package file (feeds.zip) to the selected Decoder every 120 minutes from the feeds host server:
minutes=120 pathname=/parsers msg=feed params="type\=wget file\=http://feedshost/nwlive/feeds.zip"