To configure an individual task in the
Task Scheduler (Configuration Editors > Task Scheduler), click the
Add button in the ribbon at the top of the screen and select one of the following categories (figure 3-30):
- ADVP Processing Task handles tasks according to ADVP rules.
- AIRNow FTP Task handles automatic transmission of ARINow data to EPA or other FTP servers
- Alarm Processing Task reviews alarm Triggers for matches and creates email alerts. ADVP Processing Task reviews data against configured ADVP rules for matches, and runs configured Actions.
- Average Data Purge Task purges or archives old data from the database.
- Fill Average Data Gaps Task inserts top of the day blank records in to database to improve reporting and data query performance. Each system needs only one of these tasks.
- Instrument Poll Task handles direct polling of PM Samplers, Instruments, i.e., non-Agilaire branded logger (non-ESC 8816/8832s)
- Journal Message Purge Task purges or removes internal error logs from the database.
- Logger Poll Task handles polling of ESC 8816 and 8832 data loggers (Agilaire-branded)
- Scheduled Command Line Task can be used to automate any Windows command line function, such as NTBackup. See this Application Note for details.
- Scheduled Report Task handles automatically printed or emailed reports
- SQL Execution Task
- Data Rollup Task can be used to create rolling averages or calculate new block averages from existing data.
- Sync Task is used with the AV-Trend Sync system to transfer data and synchronize configuration from AV-Trend site PCs or other peer AirVision systems.
- New Task Group
The Task Scheduler screen (Figure 3-30) has three sections:
- Task Schedule displays all scheduled tasks and cannot be edited.
- Task Schedule Details section is where you select an Executive, and Start Time, and a Repeat Interval. Enabled must be checked in this section before you can select Enabled in the Scheduled Task Selection section.
- The Task Options in the bottom section of the Task Scheduler will be different for each task category. If you Enable Printing of a report, select the Report from the drop-down list and enter the Path to your printer. If you Enable Notifications, Users must be set up for email notification (See “Setting Up Email Notifications”).
Figure 3-30 Task Scheduler showing a Logger Poll Task (Configuration Editors > Task Scheduler)
CAUTION: It is strongly recommended that polling retries be set using the Data Source Details page, rather than in the task scheduler, unless advised by Agilaire Support or Project Staff, especially when using Task Groups. The use of multiple retries at several levels in a task group can have a multiplicative effect and cause too many retries to be attempted.
Scheduling Reports
Report
This selection defines the type of report to be scheduled.
Configure Report QueryThis button is used to define the sites, parameters, intervals, or other criteria used for the scheduled report. The selections are identical to those available in the
Favorites Editor.
Printing Option
This selection allows the report to be automatically printed to a printer accessible by the server. Note that the printer path (which can be a network path) is referenced relative to the server,
not the client used to configure the task.
Notification Option
This selection allows the report to appear within the list of the Notification Subscriptions editor for e-mail distribution.
Save to File OptionThe third output option for scheduled
reports is found under the “File Output Options”. This option can be used to write the scheduled report to a local or network drive, and/or to FTP the file to a particular FTP server.
The user must select the output file type (CSV, HTML, PDF, etc), and the base file name.
The user can optionally have the scheduled task append the current date/time to the file name (e.g., DailyParm200906271900). Note that Windows does not allow “/” or “:” characters in file names. This option ensures that new files do not overwrite existing files in the directory. If this option is left off, the task will overwrite the file each time the tasks runs.
The user can then select either of two options:
- Write to File Enabled – user can select/browse to a directory folder for the destination file
- FTP Upload Enabled- user can select from a previously configured FTP program (see Section xxx) for automatic FTP of the file to a particular server.
Task Error Notification
Note: This page is uncategorized. Uncategorized pages cannot be found in the site's navigation. To add this page to the navigation, move it below any other page on the site.(
help)
Version 2.1 adds the capability for e-mail
notifications in the event of a task failure. This is most commonly used for notification when a polling task encounters a critical error.
By default, AirVision will create a notification for any new Logger or Instrument poll tasks when the task is created. Other task types (e.g.,
reports) and old/existing polling tasks would need to have the error
notifications manually created using the "Advanced Options" tab in the Task editor.
The user can select what severity of error they should receive
notifications for:
- All Exceptions and Errors
- All Exceptions, Errors, and Warnings
- First Error and RTN (Return to Normal)
- Each Time The Task Runs
Note that, after defining these settings, the recipients must still subscribe to get the emails via the Notification Subscriptions editor.
Note that this screen also includes the task error logging detail. We recommend leaving this setting at default unless directed by Agilaire Support.