From owner-freebsd-stable Fri Nov 15 11:36: 5 2002 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 946C837B401 for ; Fri, 15 Nov 2002 11:36:04 -0800 (PST) Received: from nat72962.owentools.com (nat72962.owentools.com [206.50.138.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 229F943E9C for ; Fri, 15 Nov 2002 11:36:04 -0800 (PST) (envelope-from craig@meoqu.gank.org) Received: by owen1492.it.oot (Postfix, from userid 1001) id AEB67A929; Fri, 15 Nov 2002 13:35:25 -0600 (CST) Subject: Re: tz in cron From: Craig Boston To: freebsd-stable@FreeBSD.ORG In-Reply-To: <200211151920.gAFJKLIn002011@lurza.secnetix.de> References: <200211151920.gAFJKLIn002011@lurza.secnetix.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1037388925.11738.234.camel@owen1492.it.oot> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 15 Nov 2002 13:35:25 -0600 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2002-11-15 at 13:20, Oliver Fromme wrote: > > Wouldn't, > > > > cron_program="TZ=UTC /usr/sbin/cron" > > > > Be even easier? > > Yes, it would be easier, but it doesn't work. :-) > You cannot include environment variables in rc.conf that way. How about: cron_program="/usr/bin/env TZ=UTC /usr/sbin/cron" ? Craig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message