FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 03-16-2010, 01:15 PM
Timothy Murphy
 
Default cron.hourly runs twice

For some reason I cannot fathom,
cron.hourly runs twice each hour
on one of my two CentOS-5.4 systems,
as reported in /var/log/cron:
-------------------------
Mar 16 14:01:01 helen crond[27833]: (root) CMD (run-parts /etc/cron.hourly)
Mar 16 14:01:01 helen crond[27834]: (root) CMD (run-parts /etc/cron.hourly)
-------------------------
On the other it just runs once, as expected.
-------------------------
Mar 16 13:01:01 althea crond[23373]: (root) CMD (run-parts /etc/cron.hourly)
Mar 16 14:01:01 althea crond[23553]: (root) CMD (run-parts /etc/cron.hourly)
Mar 16 15:01:01 althea crond[23695]: (root) CMD (run-parts /etc/cron.hourly)
-------------------------

This doesn't have any bad effect,
but it does run the scripts in /etc/cron.hourly twice.

I just wonder if anyone has come across this curiosity?
Or can suggest any possible cause.

--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 03-16-2010, 02:11 PM
Jeff
 
Default cron.hourly runs twice

On Tue, Mar 16, 2010 at 9:15 AM, Timothy Murphy <gayleard@eircom.net> wrote:
> For some reason I cannot fathom,
> cron.hourly runs twice each hour
> on one of my two CentOS-5.4 systems,
> as reported in /var/log/cron:
> -------------------------
> Mar 16 14:01:01 helen crond[27833]: (root) CMD (run-parts /etc/cron.hourly)
> Mar 16 14:01:01 helen crond[27834]: (root) CMD (run-parts /etc/cron.hourly)
> -------------------------
> On the other it just runs once, as expected.
> -------------------------
> Mar 16 13:01:01 althea crond[23373]: (root) CMD (run-parts /etc/cron.hourly)
> Mar 16 14:01:01 althea crond[23553]: (root) CMD (run-parts /etc/cron.hourly)
> Mar 16 15:01:01 althea crond[23695]: (root) CMD (run-parts /etc/cron.hourly)
> -------------------------
>
> This doesn't have any bad effect,
> but it does run the scripts in /etc/cron.hourly twice.
>
> I just wonder if anyone has come across this curiosity?
> Or can suggest any possible cause.

hourly, daily, weekly and monthly jobs are configured in /etc/crontab.
What's your /etc/crontab look like? Are you seeing the same behavior
for daily/weekly jobs? Have you simply tried restarting the cron
service?

Jeff
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 12:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org