Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2005 18:20:52 -0800 (PST)
From:      Jon Dama <jd@ugcs.caltech.edu>
To:        Brett Glass <brett@lariat.net>
Cc:        stable@freebsd.org
Subject:   Re: FreeBSD 6.0 cron is running on GMT
Message-ID:  <Pine.LNX.4.53.0511251816200.27754@regurgitate.ugcs.caltech.edu>
In-Reply-To: <200511260118.SAA20596@lariat.net>
References:  <200511260118.SAA20596@lariat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Uh, the problem would be that kernel does not know that the CMOS clock is
set to the local time.  Standard practice is that the CMOS clock should be
set to UTC.  libc then uses knowledge of the timezone to properly report
the local time.

see man adjkerntz

(adjust kernel time zone)

On Fri, 25 Nov 2005, Brett Glass wrote:

> Just created a server using FreeBSD 6.0, and it's quite
> stable and fast. One glitch, though: Jobs scheduled to
> run at midnight via /etc/crontab are running at 6 PM
> (midnight GMT). I've double checked, and the CMOS clock
> is set to local time and the time zone is specified as
> Mountain Standard Time. What could be going on? Is this
> a known problem?
>
> --Brett Glass
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.53.0511251816200.27754>