Re: anacron/cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Install cronie-noanacron then remove cronie-anacron.

Anacron should not be setup for servers, but is good for a laptop.

On Mon, 2016-09-19 at 11:42 +0200, Patrick Dupre wrote:
Hello,

1) In fc22, anacron (and crond) sent mail to root every time that it
was running. How can I recover this function with fc24 ?

2) Now, anacron and cron work. However, I have
in /etc/crontab
22 23 * * * root run-parts /etc/cron.daily
06 13 * * 6 root run-parts /etc/cron.weekly
and in /ect/anacrontab
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


But crond.weekly runs on the Monday while it must have run on Saturday !

Sep 19 10:01:01 teucidide anacron[4820]: Will run job `cron.weekly' in 54 min.
Sep 19 10:01:01 teucidide anacron[4820]: Jobs will be executed sequentially
Sep 19 10:35:01 teucidide anacron[4820]: Job `cron.daily' started
Sep 19 10:35:02 teucidide run-parts[6320]: (/etc/cron.daily) finished certwatch
Sep 19 10:35:03 teucidide run-parts[6327]: (/etc/cron.daily) finished logrotate
Sep 19 10:35:03 teucidide anacron[4820]: Job `cron.daily' terminated
Sep 19 10:55:01 teucidide anacron[4820]: Job `cron.weekly' started


3) systemctl | grep -i locate
provides not answer.
How can I check that mlocate run properly ?
There is not service locate or mlocate

Thank for your help.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================



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 _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
-- 
Brian Millett "Gentlemen, of all things in life, are females not the finest?" 'On that, Mollari, we can at least agree.' -- [ Londo and G'Kar, "Born to the Purple"]
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux