From owner-freebsd-performance@FreeBSD.ORG Thu Oct 20 11:36:00 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 1A42116A41F for ; Thu, 20 Oct 2005 11:36:00 +0000 (GMT) (envelope-from tk@webmatic.de) Received: from trinity.webmatic.de (trinity.webmatic.de [212.78.99.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 884BB43D66 for ; Thu, 20 Oct 2005 11:35:58 +0000 (GMT) (envelope-from tk@webmatic.de) Received: from tarpit.webmatic.de (tarpit.webmatic.de [212.78.101.46]) by trinity.webmatic.de (Postfix) with ESMTP id 67BECF7B3; Thu, 20 Oct 2005 13:35:57 +0200 (CEST) Received: from localhost (localhost.webmatic.de [127.0.0.1]) by tarpit.webmatic.de (Postfix) with ESMTP id 1A22033C22; Thu, 20 Oct 2005 13:35:57 +0200 (CEST) Received: from tarpit.webmatic.de ([127.0.0.1]) by localhost (tarpit.webmatic.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 64015-02; Thu, 20 Oct 2005 13:35:51 +0200 (CEST) Received: from gware.int.webmatic.de (gware.int.webmatic.de [10.20.30.50]) by tarpit.webmatic.de (Postfix) with ESMTP id 85F1C33C20; Thu, 20 Oct 2005 13:35:51 +0200 (CEST) Received: from [212.78.101.51] (chief-engineer.webmatic.de [212.78.101.51]) by gware.int.webmatic.de (Postfix) with ESMTP id 6717320B3F8; Thu, 20 Oct 2005 13:35:50 +0200 (CEST) Message-ID: <43578115.4040103@webmatic.de> Date: Thu, 20 Oct 2005 13:35:49 +0200 From: "Thomas Krause (Webmatic)" User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: eirini References: <20051020113038.12003.qmail@web31101.mail.mud.yahoo.com> In-Reply-To: <20051020113038.12003.qmail@web31101.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at webmatic.de Cc: freebsd-performance@freebsd.org, Markus Kovero Subject: Re: crontab-smb probs 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 11:36:00 -0000 > > > Thank you dear friend. I did the changes you told me. > So, I did remove "root" and say crontab -e as root but > nothing changed. it kept sending mail saying that it > cannot find mrtg directory...BUT there is one.. > I also copied the run.sh scritp to the parent folder. > and now crontab -l gives: > */5 * * * * /usr/local/www/run.sh > > and i get now THIS mail: > >>N 1 root@BSD.e-global.gr Thu Oct 20 12:35 23/874 > > "Cron /usr/local/www/run.sh" > & > Message 1: >>From root@BSD.BSD.org Thu Oct 20 12:35:00 2005 > Date: Thu, 20 Oct 2005 12:35:00 +0300 (EEST) > From: root@BSD.BSD.org (Cron Daemon) > To: root@BSD.BSD.org > 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 > Hi, specify the full path, e.g. /usr/local/bin/mrtg instead of mrtg BTW: mrtg dosnt'n need root privileges to run! Regards, Thomas. -- ------------------------------------------------------------ Thomas Krause Webmatic Kommunikations GmbH Tel: +49 345 7779999 ------------------------------------------------------------