Home : Products : Hach WIMS : Scheduler : Documentation : Scheduler Service General Overview
Q12002 - INFO: Scheduler Service General Overview

The Hach WIMS's Scheduler runs in the background as a Windows Service and provides the ability to schedule tasks to run automatically.  Supported tasks include: scheduling database backups, scheduling automatic calculations of the database, and automatically outputting reports to a variety of destination, and many more. The scheduler works closely with the GNR Server to generate the reports and perform its tasks.

INI Settings:

There are several settings for the Scheduler which it loads from an INI file, the first group of settings is explained in the Hach WIMS Database Connection Settings article.  That article explains the basic settings required for all Hach WIMS Services and applications that connect directly to the Hach WIMS database.  To add to those settings, the Scheduler requires one extra settings, explained here:

KEEPLOGSFOR
(Optional, Default = 1000)

Determines the number of days that the Scheduler will keep its own log files.  Once a log file is older than the specified number of days, it is deleted from the system.

HACHWIMS_USERMSG_SENDTO
(Optional)

Use one (or more) line(s) of this setting to limit the amount of users that will be receiving routine notification messages from the service. For Example,

HACHWIMS_USERMSG_SENDTO=SUPER
HACHWIMS_USERMSG_SENDTO=SMITH
HACHWIMS_USERMSG_SENDTO=JANEDOE

would only send notification messages to SUPER, SMITH, and JANEDOE users.

USE_VB6_LICENSING
(Optional, Default=0)

Specifies how WIMS verifies the license file.  If the setting =0, WIMS will use .net dll to verify license info.  If the setting =1, WIMS uses and alternate licensing class to verify the licence info.  This setting is helpful in certain secure environments. If you are getting the following error when running the client: Could not initialize license information! Error reported: Please call OPS Systems for assistance!, you will need to added USE_VB6_LICENSING=1 to the scheduler.ini.

All of the settings are found in the Scheduler's ini file: scheduler.ini.  This file is found in the Scheduler installation folder which is specified during installation (default: C:\HachWIMS\Scheduler).  If any of the settings needs to be changed in the INI file, you must save the changes to the file and then restart the Scheduler service: see "MAINTENANCE" below for details.

MAINTENANCE:

Periodically, due to unforseen circumstances, the Scheduler service can require restarting and even updating.  To start, stop or restart the service, we recommend using the provided links in the Windows Start Menu as show below:

NOTE (For Windows Vista Users): If you are running Microsoft's Windows Vista and are having trouble using the above Start menu shortcuts, please see HOWTO: Start/Stop/Restart Hach WIMS Services under Windows Vista.

For advanced users, this can also be done through the Windows Service Manager (Start, Run, services.msc, OK).  From this window, you can check the status of the service (started or not) and start, stop and restart the service:

ADVANCED USERS: 

The service must be stopped before installing an updated version of the Scheduler.  This prevents the service from being abruptly halted during an operation by the upgrade process.  Once the upgraded version is installed, see the above maintenance section on how to ensure that your Scheduler service is operational and how to start or restart it if necessary.

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 2/4/2009 10:38 AM.
Last Modified on 6/5/2017 1:14 PM.
Last Modified by Ryan Rhoten.
Article has been viewed 5665 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article