Re: Completely disable anacron but leave cron on.

Posted by AlanBartlett on 2011/7/28 21:53:35
On a RHEL 6.1 system, I see --

[ajb@Duo2 ~]$ rpm -qa \*cron\*
crontabs-1.10-33.el6.noarch
cronie-1.4.4-7.el6.x86_64
cronie-anacron-1.4.4-7.el6.x86_64
[ajb@Duo2 ~]$ sudo yum info cronie cronie-anacron
<snip>
Installed Packages
Name        : cronie
Arch        : x86_64
Version     : 1.4.4
Release     : 7.el6
Size        : 166 k
Repo        : installed
From repo   : rhel-x86_64-server-6
Summary     : Cron daemon for executing programs at set times
URL         : https://fedorahosted.org/cronie
License     : MIT and BSD and ISC and GPLv2
Description : Cronie contains the standard UNIX daemon crond that runs specified programs at
            : scheduled times and related tools. It is a fork of the original vixie-cron and
            : has security and configuration enhancements like the ability to use pam and
            : SELinux.

Name        : cronie-anacron
Arch        : x86_64
Version     : 1.4.4
Release     : 7.el6
Size        : 43 k
Repo        : installed
From repo   : rhel-x86_64-server-6
Summary     : Utility for running regular jobs
URL         : https://fedorahosted.org/cronie
License     : MIT and BSD and ISC and GPLv2
Description : Anacron became part of cronie. Anacron is used only for running regular jobs.
            : The default settings execute regular jobs by anacron, however this could be
            : overloaded in settings.

[ajb@Duo2 ~]$ rpm -ql cronie
/etc/cron.d
/etc/cron.d/0hourly
/etc/cron.deny
/etc/pam.d/crond
/etc/rc.d/init.d/crond
/etc/sysconfig/crond
/usr/bin/crontab
/usr/sbin/crond
/usr/share/doc/cronie-1.4.4
/usr/share/doc/cronie-1.4.4/AUTHORS
/usr/share/doc/cronie-1.4.4/COPYING
/usr/share/doc/cronie-1.4.4/ChangeLog
/usr/share/doc/cronie-1.4.4/INSTALL
/usr/share/doc/cronie-1.4.4/README
/usr/share/man/man1/crontab.1.gz
/usr/share/man/man5/crontab.5.gz
/usr/share/man/man8/cron.8.gz
/usr/share/man/man8/crond.8.gz
/var/spool/cron
[ajb@Duo2 ~]$ rpm -ql cronie-anacron
/etc/anacrontab
/etc/cron.hourly/0anacron
/usr/sbin/anacron
/usr/share/man/man5/anacrontab.5.gz
/usr/share/man/man8/anacron.8.gz
/var/spool/anacron
/var/spool/anacron/cron.daily
/var/spool/anacron/cron.monthly
/var/spool/anacron/cron.weekly
[ajb@Duo2 ~]$

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=55&topic_id=32442&post_id=138843