Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I installed a new system (Fedora 13) on a new disk.

I have the data of my old system (Fedora 11) on other disk.

I've mount all old partitions to reconfigure the new system like was the old. I have access to my old /home, /etc, /usr...

I would like to know what was in the crontab of my old user. I look in my old /etc/cron* and didn't find what I was looking for.

Where are stored the crontab commands for a particular user ?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

It depends on the cron daemon you are using, but chances are good that you'll find the user crontabs in /var/spool/cron.

share|improve this answer
NB these files must never be edited directly –  symcbean Aug 25 '10 at 12:56
Thanks. It was exactly what I was looking for. –  Luc M Aug 26 '10 at 22:43

As joschi says /var/spool/cron/ is the place a user's crontab is stored. I.e. where their crontab is located if they run crontab -e.

However cronjobs can be set up via other locations and can be run as any given user from those locations, so to be thourough you need to check these other places too.

Other places where cron jobs might be found on a fedora host include:

  • /etc/crontab
  • /etc/cron.d

The following places are generally places only root cronjobs go, but a root cronjob can su in it's execution, so you might need to check these to, if you don't find what you are looking for elsewhere:

  • /etc/cron.hourly
  • /etc/cron.daily
  • /etc/cron.weekly
  • /etc/cron.monthly

I think that is all of them.

share|improve this answer

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.