TimeGuard

From wiki.amiga.org
(Difference between revisions)
Jump to: navigation, search
 
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:
  
  
=Settings=
+
==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:
  
  
'''DST'''
+
<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:
  
  
'''NTPSERVER'''
+
<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

[edit] 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.


[edit] 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.


[edit] 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
Personal tools
Namespaces

Variants
Actions
Navigation
Tools