How does anacron start in Centos7 ?
/etc/crontab shows empty
- anacron.conf contains cron.daily folder
- cron.daily folder contains logrotate config file
- logrotates are working perfectly
My question : I cannot find any relation between cron and anacron then how does anacron start in centos7 .
Best Answer
It's run from cron, of course, using the script in
/etc/cron.hourly/0anacron
.Scripts in
/etc/cron.hourly
are run hourly by the job in/etc/cron.d/0hourly
.