From owner-freebsd-questions Tue Jan 4 13:59:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 1F42214CCC for ; Tue, 4 Jan 2000 13:59:52 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.092 #1) id 125atJ-000OPd-00; Tue, 04 Jan 2000 20:49:17 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.092 #1) id 125atJ-0002Vd-00; Tue, 04 Jan 2000 20:49:17 +0000 Date: Tue, 4 Jan 2000 20:49:17 +0000 From: Ben Smithurst To: Joss Roots Cc: freebsd-questions@freebsd.org Subject: Re: HELP: cron & /etc/periodic question. (it was the PATH environ.) Message-ID: <20000104204917.B9437@strontium.scientia.demon.co.uk> References: <20000104140527.7441.qmail@web124.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000104140527.7441.qmail@web124.yahoomail.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joss Roots wrote: > I discovered that changing the relative path to an absolute one > resolves the problem and the scripts is actually executed. cron was > just ignoring the script, which called another 2 scripts. but when I > added the full path, it worked. > > OK now the user root, should export his PATH environmental variable, > so I am using tcsh how can I do this. I don't use tcsh, so I don't know. I think it's something like "setenv PATH /foo:/bar". When you reply, please remember to send your message to the mailing list as well, so you benefit from everyone's knowledge. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message