Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var/spool/cron/lastrun/cron.hourly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
carlivar
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 92
Location: Burbank, California

PostPosted: Wed Dec 04, 2002 4:10 pm    Post subject: /var/spool/cron/lastrun/cron.hourly Reply with quote

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
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Thu Dec 05, 2002 8:08 am    Post subject: Reply with quote

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! :D

Andrew
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Thu Dec 05, 2002 1:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
carlivar
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 92
Location: Burbank, California

PostPosted: Thu Dec 05, 2002 10:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
carlivar
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 92
Location: Burbank, California

PostPosted: Fri Dec 06, 2002 8:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum