From owner-freebsd-questions Tue Apr 3 0:56:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id A3D8237B719 for ; Tue, 3 Apr 2001 00:56:42 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 70177 invoked by uid 100); 3 Apr 2001 07:56:42 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15049.33337.990843.844118@guru.mired.org> Date: Tue, 3 Apr 2001 02:56:41 -0500 To: "G D McKee" Cc: questions@freebsd.org Subject: Re: GMT & BST In-Reply-To: <25559614@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG G D McKee 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. 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