Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Background: I am working on CentOS


# cat /proc/version
Linux version 2.6.18-308.4.1.el5PAE (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-52)) #1 SMP Tue Apr 17 17:47:38 EDT 2012

Question: How can i know which version cron daemon installed and running on machine

share|improve this question
up vote 7 down vote accepted

The dummy way:

whereis -b crontab | cut -d' ' -f2 | xargs rpm -qf
share|improve this answer
Nice Answer. Would you please explain the command? – Md. Mahbubur R. Aaman Nov 15 '12 at 4:16
search for a binary named crond, get the 2nd column of the output(the binary), then pass to rpm to look for it's belonging package. Note that in RHEL/CentOS cron daemon is named crond but not in some other OS. So I edited and use "crontab" instead which is more general. You can even filter from ps to figure out what binary is running – MeaCulpa Nov 15 '12 at 7:45
+1 for your helpful Answer. Also thanks for your helpful comment. – Md. Mahbubur R. Aaman Jan 1 '13 at 5:31

On your centos system: rpm -q vixie-cron

Should be something like vixie-cron-4.1-77.el5_4.1

share|improve this answer

In EL6, you can check the version of cronie (contains crond) with yum:

sudo yum list installed cronie

fyi, cronie replaced vixie-cron in EL6.

share|improve this answer
+1 for Good Resource. – Md. Mahbubur R. Aaman Jan 1 '13 at 5:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.