Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Regular cron error
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
cca93014
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2002
Posts: 77
Location: London, UK

PostPosted: Wed Nov 06, 2002 6:03 pm    Post subject: Regular cron error Reply with quote

I keep getting this email sent to root at random periods during the day:
Code:

Cron <root@benny> test -x /usr/sbin/run-crons && /usr/sbin/run-crons
find: /var/spool/cron/lastrun/cron.hourly: No such file or directory


Quite annoying. /var/spool/cron/lastrun/cron.hourly exists, and is 0 bytes long. Anyone know how to shut it up 8O ?
Back to top
View user's profile Send private message
Torg
n00b
n00b


Joined: 21 Oct 2002
Posts: 30

PostPosted: Fri Nov 08, 2002 10:56 pm    Post subject: Reply with quote

I get rid of the cron mails alltogether by putting
Code:
MAILTO=""

at the top of any crontab.

another thing to check... is that file excutable?
that's what the test -x command it is running checks for.

-Torg
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