On 09/17/2016 07:51 AM, Patrick Dupre wrote:
Hello,
In my mailbox, I receive emails: Anacron job 'cron.weekly' on While I do not receive any amail: Anacron job 'cron.daily' on
while it should run daily: logrotate certwatch
It even more strange, on a fc22 machine I had Anacron job 'cron.daily' on until July 14. and then not anymore !
Is anacrontab controlled by /etc/crontab or by /etc/anacrontab ?
In addition, in fc22 I had: /etc/cron.daily/mlocate
while in fc24, I do not have such a file. How mlocate is now managed ?
Thank.
Anacron is what's used and that uses /etc/anacrontab. The last few lines of the file: #period in days delay in minutes job-identifier command 1 5 cron.daily nice run-parts /etc/cron.daily 7 25 cron.weekly nice run-parts /etc/cron.weekly @monthly 45 cron.monthly nice run-parts /etc/cron.monthly
I can't say if /etc/crontab is still used. It has no lines like what's above to do anything.
As for mlocate it's now a (or part of a) service: [mcallman@draco ~]$ systemctl | grep -i locate mlocate-updatedb.timer loaded active waiting Updates mlocate database every day
Mark C. Allman, PMP, CSM Founder, See How You Ski, www.seehowyouski.com Sr. Project Manager, Allman Professional Consulting, Inc., www.allmanpc.com 617-947-4263, Twitter: @allmanpc