From owner-freebsd-performance@FreeBSD.ORG Thu Oct 20 11:30:39 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 6465416A41F for ; Thu, 20 Oct 2005 11:30:39 +0000 (GMT) (envelope-from renas13@yahoo.com) Received: from web31101.mail.mud.yahoo.com (web31101.mail.mud.yahoo.com [68.142.200.34]) by mx1.FreeBSD.org (Postfix) with SMTP id DFD5F43D62 for ; Thu, 20 Oct 2005 11:30:38 +0000 (GMT) (envelope-from renas13@yahoo.com) Received: (qmail 12005 invoked by uid 60001); 20 Oct 2005 11:30:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=GBbmlMpfnhCaiYptK3jchvB/a98gJsexSxH8T5wKsMIwzq0h332Tha9p+eKDK+jHLaOY4uQYojqNYRIKhm68yE1CUt5tjtSZvVrjwBBxo1a3HDPRIp9iUDqtbMNaOLm3WoitfbmVeUVrYJ5UXaMXPAzs20yWJOQh4CAeZMNGDg8= ; Message-ID: <20051020113038.12003.qmail@web31101.mail.mud.yahoo.com> Received: from [193.111.103.122] by web31101.mail.mud.yahoo.com via HTTP; Thu, 20 Oct 2005 04:30:38 PDT Date: Thu, 20 Oct 2005 04:30:38 -0700 (PDT) From: eirini To: Markus Kovero In-Reply-To: <4356562D.8090209@multiwise.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-performance@freebsd.org 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:30:39 -0000 >>It will not start! I edit it with crontab -e and added >>the line >>*/5 * * * * root /usr/local/www/mrtg/run.sh with vi >>editor. > > >afaik, you don't define user who runs that crontab >there, so remove >"root" and say crontab -e as root when you want toedit >it and you >should be ok. 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 I also checked the /etc/crontab and there is nothing more than the default in there, as well as /usr/src/crontab. Any suggestions? Spen __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs