Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cleanup cron logs from the syslog.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Cocobo-1
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 166
Location: Sweden

PostPosted: Thu Apr 05, 2007 3:53 pm    Post subject: Cleanup cron logs from the syslog. Reply with quote

My syslog is filled with lines like:
Code:
Apr  5 16:30:01 multivac cron[19216]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 16:30:01 multivac cron[19217]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 16:35:01 multivac cron[19304]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 16:40:01 multivac cron[19394]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 16:40:01 multivac cron[19395]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 16:45:01 multivac cron[19490]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 16:50:01 multivac cron[19570]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 16:50:01 multivac cron[19572]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 16:55:01 multivac cron[19657]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 17:00:01 multivac cron[19845]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Apr  5 17:00:01 multivac cron[19847]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 17:00:01 multivac cron[19849]: (root) CMD (root^Irm -f /var/spool/cron/lastrun/cron.hourly)
Apr  5 17:00:01 multivac cron[19843]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 17:05:01 multivac cron[19954]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 17:10:01 multivac cron[20071]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 17:10:01 multivac cron[20072]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 17:15:01 multivac cron[20160]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 17:20:01 multivac cron[20237]: (root) CMD (root^Itest -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Apr  5 17:20:01 multivac cron[20235]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )

They go on and on forever. It's some sort of cron log but it serves no purpose. Can I turn it off?

The crontab for root looks like this:
Code:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=""
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
*/5  *  * * *   root    test -x /usr/sbin/run-crons && /usr/sbin/run-crons

I think it's an unmodified vixiecron crontab but I do use cron by placing scripts in the /etc/cron.<time>/ folders.
_________________
Professor: "Good news, everyone. Several years ago I tried to log onto AOL, and
it just went through. Whee! We're online."
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Thu Apr 05, 2007 4:04 pm    Post subject: Reply with quote

[DUP] for (among others) Cron message every 10 minutes in /var/log/message...
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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