Difference between revisions of "TimeGuard"
Line 1: | Line 1: | ||
− | =Introduction= | + | ==Introduction== |
TimeGuard is a commodity included in the [[Enhancer Software]] | TimeGuard is a commodity included in the [[Enhancer Software]] | ||
− | It is required to automatically update the clock if you selected to | + | It is required to automatically update the clock if you selected to: |
+ | |||
* get the time from an NTP server at boot time and/or repeatedly | * get the time from an NTP server at boot time and/or repeatedly | ||
Line 15: | Line 16: | ||
− | =Installation= | + | ==Installation== |
Normally TimeGuard should be started by WBStartup, but it can as well be run from S:User-Startup or S:Network-Startup, whatever is preferred. | Normally TimeGuard should be started by WBStartup, but it can as well be run from S:User-Startup or S:Network-Startup, whatever is preferred. | ||
Line 22: | Line 23: | ||
− | = | + | ==Variables== |
TimeGuard reads its settings from two environment variables which are set | TimeGuard reads its settings from two environment variables which are set | ||
Line 29: | Line 30: | ||
− | + | <span style="color: black; font-family:courier;"> | |
+ | DST | ||
+ | </span> | ||
+ | |||
This variable contains the daylight saving time settings such as: | This variable contains the daylight saving time settings such as: | ||
+ | |||
* the begin and end of DST | * the begin and end of DST | ||
Line 40: | Line 45: | ||
− | + | <span style="color: black; font-family:courier;"> | |
+ | NTPSERVER | ||
+ | </span> | ||
+ | |||
This variable contains the network time settings such as: | This variable contains the network time settings such as: | ||
+ | |||
* NTP server name and port number | * NTP server name and port number |
Latest revision as of 23:07, 29 December 2016
Introduction
TimeGuard is a commodity included in the Enhancer Software
It is required to automatically update the clock if you selected to:
- get the time from an NTP server at boot time and/or repeatedly
- automatically update the clock for daylight saving time
If you don't run TimeGuard, the clock will not be updated automatically.
Installation
Normally TimeGuard should be started by WBStartup, but it can as well be run from S:User-Startup or S:Network-Startup, whatever is preferred.
During the Enhancer Software installation process, an option is presented to automatically add TimeGuard to the WBStartUp so it runs on every system restart.
Variables
TimeGuard reads its settings from two environment variables which are set by the Time Preferences program. It also uses these variables to keep track of the current state.
DST
This variable contains the daylight saving time settings such as:
- the begin and end of DST
- whether DST is currently active
- the amount of seconds the clock should be advanced during DST
NTPSERVER
This variable contains the network time settings such as:
- NTP server name and port number
- when and how often the clock should be updated
- when the last update succeeded