From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Vladim=EDr_Dvo=F8=E1k?= Subject: Re: Cronjobs Date: Wed, 30 Jul 2003 09:59:39 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3F277AEB.1050309@suse.cz> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Tom Troonbeeckx Cc: linux-admin@vger.kernel.org Hi Tom, >I have some proplem with mine cronjobs. > >I edit mine /etc/crontab with the following command "crontab -e". >The crontab looks like this > >SHELL=/bin/bash >PATH=/sbin:/bin:/usr/sbin:/usr/bin >MAILTO=root >HOME=/ > ># run-parts >01 * * * * root run-parts /etc/cron.hourly >01 0 * * * root run-parts /etc/cron.daily >30 14 * * * root run-parts /etc/cron.twice.a.day >30 18 * * * root run-parts /etc/cron.twice.a.day >22 4 * * 0 root run-parts /etc/cron.weekly >42 4 1 * * root run-parts /etc/cron.monthly >3,18,33,48 * * * * root run-parts /etc/cron.quarter-hourly >1,6,11,16,21,26,31,36,41,46,51,56 * * * * root run-parts /etc/cron.5-min > >I restarted the anacron-daemon. I tested the cronjobs individually and they >work fine. >However, since I scheduled them I receive an email after each 5 and 15 >minutes with the message > /bin/bash: root: command not found > > Isnt better to use : 1-56/5 * * * * root run-parts /etc/cron.5-min or */5 * * * * ..... ( I havent try that, but accorning to man page, it would work. ) vd, IT Admin of SuSE CR