Super User is a question and answer site for computer enthusiasts and power users. 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

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
up vote 2 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

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! – Evil Angel Feb 13 '12 at 7:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .