abate_mgr
Purpose:
Manage the data base connection and queries performed for inserting, updating, and retrieving abatement system data into/from the local sqlite database. Events are handled within this task for the abate_log_viewer, abate_ec_viewer, and abate_cal_viewer programs. Monitoring of the abatement system error code variables is also performed.
Enter:
abate_mgr [new_log_interval=##] [log_cleanup=##] [ec_cleanup=##] &
Where:
new_log_interval Optional. Specify the number of minutes to generate a new logfile. The default is 5 minutes. log_cleanup Optional. Specify the number of days worth of data to contain within the pea_logger table. The default is 60 days. ec_cleanup Optional. Specify the number of days worth of data to contain within the error_codes table. The default is 60 days.
Example:
abate_mgr [new_log_interval=10] [log_cleanup=10] [ec_cleanup=10] &
The above processes the logger file every 10 minutes, delete log records over 10 days old and delete error code records over 10 days old.
abate_mgr &
The above processes the logger file every 5 minutes, delete log records over 60 days old and delete error code records over 60 days old.
Notes:
Start the abate_mgr task within the go.scp.
See Also: