From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tom Troonbeeckx" Subject: Cronjobs Date: Wed, 30 Jul 2003 09:34:38 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Dear Sir/Madam, 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 I figured out that the crondaemon is trying to execute the command root. At some point it doesn't count the userprivilege of the cronjob. The configuration looks in mine opinion fine. Any ideas what went wrong? Thanks in advance.... Ideaxis nv -facing the internet- Flanders Multimedia Valley Wetenschapspark 1 B-3590 DIEPENBEEK Tel : +32 11 26 89 20 Fax : +32 11 23 22 17 Mobile: +32 479 13 14 81 E-Mail: tom.troonbeeckx@ideaxis.com URL: http://www.ideaxis.com/ Ideaxis nv legal disclaimer The information contained in this e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by returning this e-mail. Please delete this e-mail and do not disclose its contents to any person. Ideaxis nv does not accept liability for any errors, omissions, delays of receipt or viruses in the contents of this message which arise as a result of e-mail transmission.