Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2445 - default crontab annoying
Summary: default crontab annoying
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-04 13:45 UTC by Alexander Gretencord
Modified: 2002-05-10 16:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Gretencord 2002-05-04 13:45:31 UTC
The default crontab gets a lil annoying as it mails output from scripts. You get quite a few of these: 
 
rm: cannot remove `/var/spool/cron/lastrun/cron.hourly': No such file or directory  
 
Just redirect the output do /dev/null to solve this :)
Comment 1 Chad Huneycutt (RETIRED) gentoo-dev 2002-05-07 23:59:15 UTC
ummm, no.  If you are getting e-mails from cron, then that means that a cron job
is failing.  What you need to do is
# chown -R root.cron /var/spool/cron
and
# chmod -R ug+rwX /var/spool/cron

Then the error will go away, and cron will no longer send you e-mails.
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-05-10 16:04:00 UTC
 yes - the commands from comment #1 fix the situation, but it 
should only be a problem if you update from a old cron (ie. 
before the new cron layout) 
 
... otherwise it probably is a configuration error