From owner-freebsd-questions@FreeBSD.ORG Sat Aug 9 00:37:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06A3237B401 for ; Sat, 9 Aug 2003 00:37:22 -0700 (PDT) Received: from smtp2.adl2.internode.on.net (smtp2.adl2.internode.on.net [203.16.214.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0DF843F75 for ; Sat, 9 Aug 2003 00:37:20 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from smtp2.adl2.internode.on.net (localhost [127.0.0.1]) h797bIQ6089077 for ; Sat, 9 Aug 2003 17:07:18 +0930 (CST) Received: (from mailnull@localhost)h797bIbi089073 for ; Sat, 9 Aug 2003 17:07:18 +0930 (CST) X-Authentication-Warning: smtp2.adl2.internode.on.net: mailnull set sender to using -f Received: from beta.home (ppp55-166.lns1.adl2.internode.on.net [150.101.55.166]) by localhost (8.12.9/8.12.9+MIMEDefang) with ESMTP id h797bGQ6089069; Sat, 09 Aug 2003 17:07:18 +0930 Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: "Dragoncrest" , questions@freebsd.org Date: Sat, 9 Aug 2003 17:07:16 +0930 User-Agent: KMail/1.4.3 References: <200308081806.h78I6LTa023566@mail5.mx.voyager.net> In-Reply-To: <200308081806.h78I6LTa023566@mail5.mx.voyager.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200308091707.16018.malcolm.kay@internode.on.net> X-Streamed-Recipients: X-Proc-As: questions X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) Subject: Re: Reports are running too early?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 07:37:22 -0000 On Sat, 9 Aug 2003 02:56, Dragoncrest wrote: > Not sure what to do about this, but for some strange reason all of my > reports are running 4 hours ahead of schedule. Cron has everything > scheduled at the proper 3am, 4am, and 5am like it should, but they're > actually generating at 11pm, midnight, and 1am instead. Anyone have an= y > idea why this might be happening? > I notice 4 hours corresponds to your offset from UTC. I have seen similar sorts of problems on other systems such as HP-UX and=20 Ultrix which normally use TZ environment variable to set the local time z= one. It seem that it is difficult to make the entire system see the variable. However I've not seen the problem on FreeBSD where use of TZ is not the n= orm=20 although I believe it is available as an alternative method of setting ti= me=20 zone. I think if you set the time zone during the normal installation procedure= with=20 FreeBSD you will have this set through a file /etc/localtime. I think tzsetup allows setting this via a menu on an established system -= -=20 then get rid of TZ if you have it. Malcolm Kay=20