Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ulowell!m2c!applix!jim From: jim@applix.UUCP (Jim Morton) Newsgroups: comp.unix.xenix Subject: Re: timekeeping Summary: xenix setclock utility Keywords: time, clocks, AT Message-ID: <964@applix.UUCP> Date: 28 Apr 89 14:51:12 GMT References: <275@mplex.UUCP> <521@bilver.UUCP> Distribution: na Organization: APPLiX Inc., Westboro MA Lines: 17 In article <521@bilver.UUCP>, bill@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@applix.m2c.org