From owner-freebsd-performance@FreeBSD.ORG Thu Oct 20 13:51:56 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05B3116A41F for ; Thu, 20 Oct 2005 13:51:56 +0000 (GMT) (envelope-from Shane@007Marketing.com) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 274B043D64 for ; Thu, 20 Oct 2005 13:51:54 +0000 (GMT) (envelope-from Shane@007Marketing.com) Received: from [192.168.8.50] (ppp19-170.static.internode.on.net [150.101.19.170]) by smtp3.adl2.internode.on.net (8.12.9/8.12.6) with ESMTP id j9KDpqAO045109; Thu, 20 Oct 2005 23:21:53 +0930 (CST) (envelope-from Shane@007Marketing.com) User-Agent: Microsoft-Entourage/10.1.4.030702.0 Date: Thu, 20 Oct 2005 23:21:51 +0930 From: Shane Ambler To: FreeBSD Mailing Lists , eirini Message-ID: In-Reply-To: <20051020123908.16837.qmail@web31103.mail.mud.yahoo.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: Subject: Re: crontab prob X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 13:51:56 -0000 On 20/10/2005 22:09, "eirini" wrote: > Subject: Cron /usr/local/www/run.sh > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > > env: mrtg: No such file or directory > # cat /usr/local/www/run.sh > env LANG=C mrtg /usr/local/www/mrtg/eg2/eg2.cfg I pick the problem to be this line ^ above. Try changing the mrtg (the first one after LANG=C) in the run.sh to the full path - from the cron email you got it is not located within PATH which is why it can't find it. If you removed the mrtg folder you may need to change the path to the cfg file as well. The other option is put mrtg in /usr/bin/ -- Shane Ambler Sales Department 007Marketing.com Shane@007Marketing.com