Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-29-2011, 12:36 PM   #1
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
How is anacron working when it doesn't seem to be a daemon

On my CentOS 5.6, when I do 'service anacron status', I get some 'anacron is stopped', but on my CentOS 6.0, when I do 'service anacron status' it says there's no service called anacron. But for both systems if I do 'which anacron' I get /usr/sbin/anacron.

So I'm wondering on the system where there is no anacron service, how does it run? (Because it does seem to be running the daily run.) There doesn't seem to be any anacron script in /etc/cron.daily/ or /etc/cron.d/, and /etc/crontab doesn't have any entries.

I tried to search through the processes doing a 'ps aux | grep anacron' on both systems, and nothing appeared.

So how does it run on a daily basis as it's supposed to?
Old 10-29-2011, 01:03 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
$ rpm -qf /usr/sbin/anacron
So anacron is part of the cronie-anacron. Looking further provides the answer to your question:

$ rpm -ql cronie-anacron


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
transmission-daemon doesn't download zoran119 Slackware 1 10-19-2011 02:15 PM
Bash script to verify the daemon is working if not, start the daemon kishoreru Linux - Newbie 7 09-23-2009 04:29 AM
ftp daemon doesn't seem to be up!? Chikne Slackware 1 12-05-2006 02:19 AM
MySQL Daemon doesn't run stedo Debian 1 11-23-2005 08:07 AM
Cron/Anacron Not Working - Debian Sarge br00tal Debian 2 10-10-2005 06:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration