Date: Sat, 26 Nov 2005 21:39:01 -0800 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Brett Glass <brett@lariat.org> Cc: Peter Jeremy <PeterJeremy@optushome.com.au>, stable@freebsd.org Subject: Re: FreeBSD 6.0 cron is running on GMT Message-ID: <20051127053901.GI885@funkthat.com> In-Reply-To: <6.2.5.6.2.20051126222514.085ac738@lariat.org> References: <200511260118.SAA20596@lariat.net> <Pine.LNX.4.53.0511251816200.27754@regurgitate.ugcs.caltech.edu> <6.2.5.6.2.20051126150622.0843d3e0@lariat.org> <20051127041452.GE27757@cirb503493.alcatel.com.au> <6.2.5.6.2.20051126222514.085ac738@lariat.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Brett Glass wrote this message on Sat, Nov 26, 2005 at 22:27 -0700: > At 09:14 PM 11/26/2005, Peter Jeremy wrote: > > >On Sat, 2005-Nov-26 15:07:26 -0700, Brett Glass wrote: > >>By the way, the "date" command does report the correct time. It's cron > >>that seems to be getting the time wrong. > > > >You haven't accidently created a line that looks like 'TZ=' in the > >crontab have you? > > Nope. > > >Is this affecting all users or just one? > > All. > > I am wondering if I shouldn't just redo everything in the system that > has to do with time zones and time keeping (deleting files and re-creating > them if need be), reboot, and see what happens. I've never seen a good > explanation of all of the sysctl variables, environment variables, files, > etc. that control it, especially since (as I understand it) the responsibility > has been shifted from the kernel to libraries. Is there a summary out there? /etc/localtime contains the timezone that is the default when TZ isn't set... if /etc/wall_cmos_clock exists then the RTC of the machine matches that of /etc/localtime, if it doesn't exist, the RTC is in GMT... adjkerntz(8) contains pointers to these files... as far as I know there are no sysctl's that deal with timezone... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051127053901.GI885>