TimeGuard

From wiki.amiga.org
Revision as of 23:07, 29 December 2016 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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