Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2001 02:56:41 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "G D McKee" <freebsd@gdmckee.com>
Cc:        questions@freebsd.org
Subject:   Re: GMT & BST
Message-ID:  <15049.33337.990843.844118@guru.mired.org>
In-Reply-To: <25559614@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
G D McKee <freebsd@gdmckee.com> types:
> Hi
> 
> I have my PC clock set to GMT and the system then changes the time
> automatically to BST when it starts and stops.  The problem is cron still
> uses GMT whilst the system 'date' command gives the time in BST.

Are you really changing the date on the clock, or have you just used
tzsetup to create /etc/localtime with your timezone info? If you
haven't done the latter, you should do it now, and just leave the
system clock at UTC.

> How can I get cron to adapt to BST and not run in GMT all year round?

Exactly what do you mean by "adapt to BST"? If you just want it to
report BST instead of GMT and have set the system clock is set to GMT,
try setting the TZ variable in /etc/crontab. The system doesn't
reconize BST, but you can set it to the offset from GMT.

If you mean something else, you'll need to explain exactly what you
mean.


	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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