From owner-freebsd-questions Wed Dec 19 17: 8:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from roc-66-66-72-6.rochester.rr.com (roc-66-66-72-6.rochester.rr.com [66.66.72.6]) by hub.freebsd.org (Postfix) with ESMTP id 9A31437B416 for ; Wed, 19 Dec 2001 17:08:12 -0800 (PST) Received: by roc-66-66-72-6.rochester.rr.com (Postfix, from userid 1000) id A6680901A21; Wed, 19 Dec 2001 19:58:20 -0500 (EST) Date: Wed, 19 Dec 2001 19:58:20 -0500 From: mpd To: Philip Hallstrom Cc: questions@freebsd.org Subject: Re: How can I set an environment variable for /bin/sh scripts (ie. cron?) Message-ID: <20011219195820.A37013@rochester.rr.com> References: <20011219152607.R59071-100000@teak.adhesivemedia.com> <20011219154525.X59071-100000@teak.adhesivemedia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011219154525.X59071-100000@teak.adhesivemedia.com>; from philip@adhesivemedia.com on Wed, Dec 19, 2001 at 03:45:59PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Dec 19, 2001 at 03:45:59PM -0800, Philip Hallstrom wrote: > Well, I found that I can just assign my variable in my crontab and it > seems to take... which solves my immediate problem, but I would still like > to know if this is possible without having to add that stuff to cron... but isn't that why you -can- add that stuff to cron? It's possible, but putting it in the user's crontab is the easiest way. > > thanks -philip mike -- ___________________________________________________________ "HOORAY FOR MR NUTTY!!" - Little Girl from "WE ARE PLAYING GEOGRAPHY" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message