Xref: utzoo comp.unix.questions:30312 comp.unix.misc:1292 comp.unix.xenix.sco:2189 comp.unix.xenix.misc:156 comp.unix.sysv386:6899 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!mimsy!prometheus!ukelele!chris From: chris@ukelele.UUCP (Chris Linstruth) Newsgroups: comp.unix.questions,comp.unix.misc,comp.unix.xenix.sco,comp.unix.xenix.misc,comp.unix.sysv386 Subject: Re: The swich with dailight savings time Message-ID: <295@ukelele.UUCP> Date: 11 Apr 91 00:29:30 GMT References: <9@phlpa.UUCP> Followup-To: comp.unix.questions Distribution: usa Organization: The Genuine Aloha Ukelele, Fairfax County, VA Lines: 40 pinkas@st860.intel.com (Israel Pinkas) writes: > >In article <9@phlpa.UUCP> scott@phlpa.UUCP (Scott Scheingold) writes: > >> I have noticed that some of my cron jobs are running an hour later >> than they are normally run. Example uucp.cleanup is supposed to >> .. stuff deleted .. >> run at a specific time. My next question would be when we switch >> back to EST will this become a problem once again. > >This problem is a basic result of the PC style architecture. (However, >AT&T could have solved this in software.) > >The PC architecture's battery powered clock stores the date and time (year, >month, day, hours, minutes, seconds). Most other architectures just have a >counter that counts seconds or clock ticks. > >... makes some valuable suggestions ... I dealt with this problem by setting the hardware clock to GMT and setting the system clock at boot time with: : # @(#)bsetdate.sh 1.1 TZ=GMT0;export TZ date `/etc/setup -d` > /dev/null . /etc/TIMEZONE echo "System time: \c" date setup -d outputs the CMOS clock setting in a date(1) parsable format. This is on uPort V/AT and Daylight to Standard time switches have been automatic and effortless for two years. cron even seems to be executing jobs at the appropriate times. -- Chris Linstruth ____ ___ The Genuine Aloha Ukelele chris@ukelele.UUCP / \_/ \______OO (703) 960-8428 * 4 {uunet, rutgers}!mimsy - | (_) ______## 2400/1200 N-8-1 !prometheus!ukelele!chris \____/ \___/ OO UNIX For The Masses!