Copying crontab from Suse to Ubuntu

My OpenSuse 10.3 install was getting a little long in the tooth so I decided it was time for an upgrade. I installed Kubuntu 8.10 on a new drive a couple days ago. I ended up switching to Gnome from KDE so now I'm basically running plain Ubuntu. I've been doing non-stop configuring ever since. Today I wanted to get my cron jobs from my old install. I still have it on another drive so I'm able to see all the old files. I use crontab to set up cron jobs directly from the command-line. There's a text file that contains my crontab in each system. I found Suse 10.3 kept the file at /var/spool/cron/tabs. The new system, Ubuntu 8.10, keeps the crontabs under /var/spool/cron/crontabs. So I just copied the contents of the old one then ran crontab -e. In the editor that comes up I paste the old lines and start tweaking.

Your rating: None

I usually just have my crontabs in a file in my home directory and then just crontab the file, but I suppose if the cron jobs are installed from different points that'd have to be the way you do it.

That's a good idea. I do the reverse on my servers - I run crontab -l and pipe the results to a file in a cron job. Then I rsync that file in my daily backups. This post is about my desktop where I haven't set that up,