linux - Centos 6.7 cron bug run-parts starts twice -
just updated couple of centos latest version 6.7 via yum (official repository) , since experiencing problems cron while executing cron.hourly scripts. seems run-parts program starts twice scripts in cron.hourly folder.
from cron log can see (look @ mailgraph script):
aug 7 22:01:01 spam run-parts(/etc/cron.hourly)[8066]: starting mailgraph aug 7 22:01:01 spam run-parts(/etc/cron.hourly)[8180]: finished crm114_cleanup.sh aug 7 22:01:01 spam run-parts(/etc/cron.hourly)[8067]: starting mailgraph aug 7 22:01:02 spam run-parts(/etc/cron.hourly)[8194]: finished mailgraph aug 7 22:01:02 spam run-parts(/etc/cron.hourly)[8066]: starting rules.php aug 7 22:01:02 spam run-parts(/etc/cron.hourly)[8203]: finished mailgraph
i see script mailgraph started twice, before first 1 ends , causes error script itself.
i have situation on different machines, since last upgrade latest centos 6.7. installations centos 6.6 working ok.
any idea? thanks
found it! upgrade restored file /etc/cron.d/0hourly missing on installations have crontab file running parts in /etc/cron.hourly.
basically system executing twice same scripts. deleted file , normal.
thanks anyway!
Comments
Post a Comment