[CentOS] cron.hourly runs twice

Jeff jlar310 at gmail.com
Tue Mar 16 16:11:37 UTC 2010


On Tue, Mar 16, 2010 at 9:15 AM, Timothy Murphy <gayleard at 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


More information about the CentOS mailing list