From owner-freebsd-questions Fri Feb 23 9: 6: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web118.yahoomail.com (web118.mail.yahoo.com [205.180.60.99]) by hub.freebsd.org (Postfix) with SMTP id 33EA537B491 for ; Fri, 23 Feb 2001 09:06:00 -0800 (PST) (envelope-from kalaiarasi@yahoo.com) Received: (qmail 13136 invoked by uid 60001); 23 Feb 2001 17:06:00 -0000 Message-ID: <20010223170600.13135.qmail@web118.yahoomail.com> Received: from [203.106.67.228] by web118.yahoomail.com; Fri, 23 Feb 2001 09:06:00 PST Date: Fri, 23 Feb 2001 09:06:00 -0800 (PST) From: Kalai Kalaiarasi Subject: Re: crontab To: lucas@slb.to Cc: freebsd-questions@freebsd.org In-Reply-To: <20010223110229.A28130@billygoat.slb.to> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I used the crontab command 'crontab -e' to edit. --- Lucas Bergman wrote: > > To: freebsd-questions@freebsd.org, > questions@freebsd.org > > Both those addresses go to the same list. Please > don't do that. > > > I have wrote a shell script and trying to run it > automatically by > > using crontab... but the shell script doesnt seem > to be executed by > > the crontab. Shell script works fine when being > executed manually. > > Something wrong with the crontab.... I have edited > the crontab file > > as below: > > > > 0 9 * * * /apps/sbldev/script/analysis > > > > But....there shell script is not being executed at > the specified > > time (9am) > > Did you edit the /var/cron/tabs/whoever file > directly, or did you use > the `crontab' command? If you edit the file > directly, you need to > touch /var/cron/tabs before the `cron' daemon will > pick up the change. > The `crontab' command takes care of this > automatically; see > crontab(1). > > BTW, /var/cron/tabs should probably be mode 700 and > /var/cron/tabs/* > should be mode 600, all owned by root.wheel, so > regular users _have_ > to use the `crontab' command to edit. > > Lucas __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message