Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Default crontab - test entry?
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
tparker
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2002
Posts: 85

PostPosted: Wed Dec 25, 2002 2:40 am    Post subject: Default crontab - test entry? Reply with quote

I notice an entry of '*/15 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons' in the default crontab... which adds an entry to my log every 15minutes.

Is it really necessary to make a test on the run-crons file at such frequency? Can I safetly remove this item altogether?

Thanks!
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Dec 25, 2002 4:16 am    Post subject: Reply with quote

This entry runs the script too (the part after the '&&'). This script runs cron scripts stored in /etc/cron.{hourly,daily,...}. Removing this would mean that any script that is added to one of these directories would not be run from cron, which is not necessarily a good thing (e.g., in my install, cron.daily contains two scripts -- makewhatis.cron and medusa.cron).
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