From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 04:12:12 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21E5416A4CE for ; Tue, 29 Mar 2005 04:12:12 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF81F43D49 for ; Tue, 29 Mar 2005 04:12:11 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j2T4CB6M074901; Mon, 28 Mar 2005 22:12:11 -0600 (CST) (envelope-from dan) Date: Mon, 28 Mar 2005 22:12:11 -0600 From: Dan Nelson To: Ladislav Bodnar Message-ID: <20050329041211.GA72462@dan.emsphone.com> References: <200503290758.14387.distro.watch@msa.hinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503290758.14387.distro.watch@msa.hinet.net> X-OS: FreeBSD 5.4-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.8i cc: freebsd-stable@freebsd.org Subject: Re: Time zone change confuses cron X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 04:12:12 -0000 In the last episode (Mar 29), Ladislav Bodnar said: > I've just changed the system time zone from local time to UTC by > copying /usr/share/zoneinfo/Etc/UTC to /etc/localtime. To my dismay, > I found that crontab (both /etc/crontab and user-level crontab) > completely ignores the change and continues executing scripts > according to the old time. If you haven't rebooted yet, restart cron. A process reads timezone settings only once, during startup. You're not supposed to pull the rug out from under its feet by switching /etc/localtime :) -- Dan Nelson dnelson@allantgroup.com