Server Fault is a question and answer site for system and network administrators. 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

The crontabs on RHEL seem to be duplicated in two places, /etc/cron.d, and /var/spool/cron. I've checked, and neither of these are simlinks to the other, and neither are any of the crons contained in either location.

I guess my most important question is this, which of these two is the authoritative location? If I were to edit a file in only one of these two, which one would I have to make my edit in to get it to execute?

share|improve this question
Don't forget about /etc/crontab! – mdpc Oct 27 '11 at 17:34
up vote 16 down vote accepted

/var/spool/cron is where the individual user crontabs live. As user, crontab -e edits the corresponding file in /var/spool/cron.

/etc/cron.d is a directory that is scanned for modular crontab files. The syntax is slightly different for files in that directory. The cron entries have an additional field for a user to run the cron entries as. This is the same as a systemwide /etc/crontab file.

See RedHat's documentation here:

share|improve this answer
Adding that the files in /etc/cron.d/ are, in effect, all root-owned (and therefore not user cron files); also, these files are NOT run "by cron" - they are run by a cron job that looks at these files. – adaptr Oct 27 '11 at 14:05

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.