| View previous topic :: View next topic |
| Author |
Message |
carlivar Tux's lil' helper


Joined: 22 Jul 2002 Posts: 92 Location: Burbank, California
|
Posted: Wed Dec 04, 2002 4:10 pm Post subject: /var/spool/cron/lastrun/cron.hourly |
|
|
cron emails me this error sometimes. I'm not sure what is failing or why. Take a look:
| Code: |
Subject: Cron <root@chiquita> test -x /usr/sbin/run-crons && /usr/sbin/run-crons View Full Header
View Printable Version
From: root@[snipped] (Cron Daemon)
Date: Wed, December 4, 2002 7:00 am
To: root@chiquita.no-ip.org
Priority: Normal
find: /var/spool/cron/lastrun/cron.hourly: No such file or directory
|
It only does this occasionally, like once every 2-3 days. I found the "test -x..." stuff in /etc/crontab. Looks like every 15 minutes cron makes sure /usr/sbin/run-crons is executable and if it is, runs /usr/sbin/run-crons. So why is run-crons complaining about this file missing once in a while? Does this happen to anyone else? Didn't see any bug reports about it.
Thanks,
Carl _________________ "It is difficult to make our material condition better by the best law, but it is easy enough to ruin it by bad laws." - Theodore Roosevelt |
|
| Back to top |
|
 |
alshain Apprentice


Joined: 02 Aug 2002 Posts: 202 Location: London, UK
|
Posted: Thu Dec 05, 2002 8:08 am Post subject: |
|
|
I get this same problem but after some tinkering without success I decided that the best solution was to use procmail to redirect all root messages to a separate mailbox where I could safely ignore them!
Andrew |
|
| Back to top |
|
 |
zhenlin Veteran

Joined: 09 Nov 2002 Posts: 1361
|
Posted: Thu Dec 05, 2002 1:43 pm Post subject: |
|
|
| The problem is probably because cron removes cron.houtly before run-crons has a chance to find it. Ignore it. Setup something trash that message, it gets annoying after a while. |
|
| Back to top |
|
 |
carlivar Tux's lil' helper


Joined: 22 Jul 2002 Posts: 92 Location: Burbank, California
|
Posted: Thu Dec 05, 2002 10:26 pm Post subject: |
|
|
Wanted to see if it was happening to anyone else also. I didn't see a bug on this; there should probably be one. Guess I'll submit it.
Carl _________________ "It is difficult to make our material condition better by the best law, but it is easy enough to ruin it by bad laws." - Theodore Roosevelt |
|
| Back to top |
|
 |
carlivar Tux's lil' helper


Joined: 22 Jul 2002 Posts: 92 Location: Burbank, California
|
Posted: Fri Dec 06, 2002 8:17 am Post subject: |
|
|
There is a bug (closed) for it, actually.
http://bugs.gentoo.org/show_bug.cgi?id=8506
Fixed in cronbase-0.2.1-r1.
Carl _________________ "It is difficult to make our material condition better by the best law, but it is easy enough to ruin it by bad laws." - Theodore Roosevelt |
|
| Back to top |
|
 |
|