Skip site navigation (1)Skip section navigation (2)
Date:      15 Nov 2002 13:35:25 -0600
From:      Craig Boston <craig@meoqu.gank.org>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: tz in cron
Message-ID:  <1037388925.11738.234.camel@owen1492.it.oot>
In-Reply-To: <200211151920.gAFJKLIn002011@lurza.secnetix.de>
References:  <200211151920.gAFJKLIn002011@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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