Welcome, Guest. Please login or register.

Author Topic: Genesis clocksync/daylight server  (Read 1826 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline lmclouth

  • Newbie
  • *
  • Join Date: Dec 2003
  • Posts: 7
    • Show all replies
Re: Genesis clocksync/daylight server
« on: August 19, 2006, 12:08:18 AM »
I use NTPSYNC from Aminet.  When I connect to the internet, I have this small script automatically run:

*********************************

IF "$TIMEZONE" EQ "-0400"
  set flag "-d-240"
ELSE
  set flag " "
ENDIF

ntpsync -c $flag time-b.nist.gov

unset flag

*********************************

It gets the current time and adjusts for my timezone and possible DST.  I am also running SetDST which takes care of the Daylight Savings Time part.  I don't remember for sure, but I believe SetDST creates the TIMEZONE environment variable.

Anyway, to answer your main question, time-b.nist.gov is a working time server.

Lamar