FreeBSD 6.0 cron is running on GMT

Jon Dama jd at ugcs.caltech.edu
Sun Nov 27 00:40:54 GMT 2005


What is the output of

date vs date -u

on your system?

What's the value of machdep.adjkerntz ?

Is /etc/localtime intact?

Does anything change if you rerun tzsetup?





On Sat, 26 Nov 2005, Brett Glass wrote:

> At 07:20 PM 11/25/2005, Jon Dama wrote:
>
> >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.
>
> We've never set the CMOS clock to UTC/GMT on any previous version of
> FreeBSD, and yet have never seen this behavior.
>
> By the way, the "date" command does report the correct time. It's cron
> that seems to be getting the time wrong.
>
> --Brett Glass
>


More information about the freebsd-stable mailing list