CentOS 6.2 - where's cron.daily?
For whatever reason, on most Linux distros cron.daily is run at 3-4am. Generally I move it back to midnight, but on CentOS 6.2 I cannot for the life of me figure out where it's configured!
The /etc/crontab does not have cron.daily listed, and grepping for it in /etc returns no useful results. Where can I find the cron config for it? |
On RHEL6 from which CentOS 6 is derived /etc/cron.daily is a directory like it was on RHEL5 and CentOS5.
|
Yes, but I want to change WHEN cron.daily is run. It used to be in /etc/crontab but it's not there anymore.
|
Sorry
It appears they made a change in 6 so that daily, hourly, weekly etc... are run in anacron rather than cron so as to avoid conflict with cron. The file you need is /etc/anacrontab I figured this out by reviewing /etc/crontab which gave standard crontab line (as used in user crontabs that is) examples but was otherwise empty. It noted: Quote:
Quote:
Quote:
Code:
#period in days delay in minutes job-identifier command |
Based on your info, I discovered that you need to add "cronie-noanacron" and erase "cronie-anacron" to get the old behavior of setting cron.daily start times.
Thanks! |
All times are GMT -5. The time now is 09:10 PM. |