From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FXtOy-0002C4-LB for garchives@archives.gentoo.org; Mon, 24 Apr 2006 05:14:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k3O5DMVU009463; Mon, 24 Apr 2006 05:13:22 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k3O58alx000904 for ; Mon, 24 Apr 2006 05:08:37 GMT Received: from ms-smtp-02.texas.rr.com ([24.93.47.41]) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FXtJM-00069F-KR for gentoo-user@lists.gentoo.org; Mon, 24 Apr 2006 05:08:36 +0000 Received: from [192.168.1.100] (cpe-68-201-116-137.gt.res.rr.com [68.201.116.137]) by ms-smtp-02.texas.rr.com (8.13.4/8.13.4) with ESMTP id k3O58Ynm018635 for ; Mon, 24 Apr 2006 00:08:35 -0500 (CDT) Message-ID: <444C5D52.7010502@gt.rr.com> Date: Mon, 24 Apr 2006 00:08:34 -0500 From: "Anthony E. Caudel" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060405) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: Gentoo mailing list Subject: [gentoo-user] Cron problem X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Archives-Salt: 4b07a81d-3303-4983-b9a6-3aa3aaac7bb6 X-Archives-Hash: 3073c1c58b40c6379bdd3be1409ca699 For the last few days I have had a cron problem. It started when I was trying to to find a way to modify the crontab by a script. Don't know what I did but ever since, every cron script (root's only) emails me a notice like the following: =========================================================== >>From root@localhost.localdomain Fri Apr 17 23:50:01 2006 X-Original-To: root From: root@localhost.localdomain (Cron Daemon) To: root@localhost.localdomain Subject: Cron root test -x /usr/sbin/run-crons && /usr/sbin/run-crons X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: Date: Fri, 7 Apr 2006 23:50:01 -0500 (CDT) /bin/bash: root: command not found =========================================================== Interestingly, all the scripts run fine. It's just that I get emails every ten minutes (the frequency of the "test -x /usr...") and it's driving me crazy. Can't figure that last line. Is something trying to run the command "root"? I am using vixie-cron and this is root's crontab: ============================================================= # Global variables SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly 0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly # 1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily # 15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly # 30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly # 0,10,20,30,40,50 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons # Hourly backups 0 1,7,13,19 * * * root rsnapshot hourly # Daily backups 0 2 * * * root rsnapshot daily # Weekly backups 0 3 * * 7 root rsnapshot weekly # This file was written by KCron. Copyright (c) 1999, Gary Meyer # Although KCron supports most crontab formats, use care when editing. # Note: Lines beginning with "#\" indicates a disabled task ============================================================== PLease help. My own system is spamming me! Tony -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- gentoo-user@gentoo.org mailing list