[lug] date

Sean Reifschneider jafo at tummy.com
Sat Oct 2 13:13:53 MDT 1999


On Sat, Oct 02, 1999 at 12:59:43PM -0600, Dale Harris wrote:
>xntpd would to the trick.  On some linux systems you might have hwclock

One thing to be careful of though is that xntpd will only synchronize the
time if your local clock doesn't become too skewed.  For example, if
Daylight Savings Time happens and you don't write that value into your
BIOS clock, the next time you try to run xntpd it will complain about
the time being too far off to synchronize.

To get around this, you probably want to update the BIOS clock at least
every time you shut down.  Or you might want to put together a script
which checks the BIOS clock and only updates it if it's reasonably
different from the system clock, and run that frequently.

If you're running RedHat or a similar system with /etc/sysconfig/clock
or /usr/sbin/setclock, you can give my "clockupdate" script a try.
ftp.tummy.com:/pub/tummy

Sean
-- 
 Get your data structures correct first, and the rest of the program will
 write itself.  -- David Jones
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
URL: <http://www.tummy.com/xvscan> HP-UX/Linux/FreeBSD/BSDOS scanning software.



More information about the LUG mailing list