Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On my system I have fedora 13, which I can't get to boot right now.

I'm now running ubuntu 11.10 from a different partition.

From ubuntu I can read the fedora partition.

In fedora I had some cron jobs, which I could list by typing contab -l

Now that I can't get fedora to boot, is there a way to recover the cron jobs from the file system used by fedora when I'm running ubuntu?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

The cronjobs where most likely stored under /var/spool/cron

share|improve this answer
    
Thanks, this worked for me! –  Iljaas Feb 13 '12 at 4:56
add comment

You can find cron jobs in /etc/crontab file and following directories:
- /etc/cron.d/
- /var/spool/cron/
If your /etc/crontab file contains following lines, you can find shell scripts in mentioned directories too:

01 * * * * root run-parts /etc/cron.hourly  
02 4 * * * root run-parts /etc/cron.daily  
22 4 * * 0 root run-parts /etc/cron.weekly  
42 4 1 * * root run-parts /etc/cron.monthly  

For example, /etc/cron.hourly/

share|improve this answer
    
Tried all your suggestions. The one that is working for me is /var/spool/cron/. Thanks –  Iljaas Feb 13 '12 at 4:55
1  
This directory is used to keep user-defined cron jobs... Anyway, cheers! –  Sachin Shekhar Feb 13 '12 at 7:50
add comment

Your Answer

 
discard

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.