[CentOS] dont run cron.d- when cron.daily-scripts are running

Leon Fauster

leonfauster at googlemail.com
Tue Feb 12 12:57:24 UTC 2019


EL6 context: 
cronie-1.4.4-16.el6_8.2.x86_64
cronie-anacron-1.4.4-16.el6_8.2.x86_64
crontabs-1.10-33.el6.noarch

I have some cron.d entries that execute scripts in minute intervals and I'm wondering how could an 
"official" way look like, to have a condition to not run cron.d entries when cron.daily scripts are 
running. Sure, I can hack something around file timestamps or so but that feels not so streamlined ...

I'd really appreciate any ideas ...

--
LF




More information about the CentOS mailing list