timekeeping

Jim Morton jim at applix.UUCP
Sat Apr 29 00:51:12 AEST 1989


In article <521 at bilver.UUCP>, bill at bilver.UUCP (bill vermillion) writes:
> This works while the machine is running.   Since you only look at the clock on
> boot-up Xenix is keeping time the rest of the time.  If time changes when the
> machines are powered off it is hardware.
 
Note also that Xenix nicely resets the hardware clock every night from cron
with the following crontab entry:

1 2 * * * cat -s /dev/clock >/dev/null 2>&1 || exit 0;/etc/setclock `date +\%m\%d\%H\%M\%y`

So changes you make to the time while running Xenix get reflected back into
the hardware clock...if you can't get your clockrate in Xenix set right and
you reboot every day, you may want to disable this cron entry.
--
Jim Morton, APPLiX Inc., Westboro, MA
UUCP: ...harvard!m2c!applix!jim
      jim at applix.m2c.org



More information about the Comp.unix.xenix mailing list