[opensuse] Cron Job Problem



I want to run nightly backups, using rdiff-backup. I want the backups to
go to one disk drive, Backup1, Monday thru Saturday and a different disk
drive, Backup2, on Sunday. I used Kcron to enter the crontab data
running as root. Here's what crontab looks like if I run crontab -l
after logging in as su -:

Earth-svr:~ # crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/root/.kde4/tmp-Earth-svr/kcronh31359.tmp installed on Sun Dec 16
16:12:33 2007)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42
vixie Exp $)
# This file was written by KCron. Copyright (c) 1999, Gary Meyer
# Although KCron supports most crontab formats, use care when editing.
# Note: Lines beginning with "#\" indicates a disabled task.

#
5 0 * * 1,2,3,4,5,6 rdiff-backup --exclude-filelist
/home/dhenson/exclude-list-Earth-svr / /media/Backup1
#
5 0 * * 7 rdiff-backup --exclude-filelist
/home/dhenson/exclude-list-Earth-svr / /media/Backup2
Earth-svr:~ #

I'm no expert on cron but the crontab looks okay to me. Does anyone see
anything wrong with crontab? Do you see anything that might cause the
scheduled cron jobs not to run? Any assistance appreciated.

Don Henson


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] Cron Job Problem
    ... go to one disk drive, Backup1, Monday thru Saturday and a different disk ... I used Kcron to enter the crontab data ... Here's what crontab looks like if I run crontab -l ... scheduled cron jobs not to run? ...
    (SuSE)
  • Re: Scheduled Backups of Home Directory
    ... Use the crontab from user root. ... Then all you need to do is modify the configuration file. ... very MANY backups (a user reported, ... and only occupies 130% of space of the original data! ...
    (Ubuntu)
  • Re: Can you suggest a nice backup tool?
    ... > familiar with this scripting stuff yet, and for the moment, GUI seemed ... If you want backups, CLI is the only good way to go and to learn, there ... use `crontab -e` to put it in your crontab and it will do these things ... >From the day the male foetus' hands grow long enough to grasp at their 'third ...
    (alt.os.linux.suse)
  • Re: Time for some backups
    ... I now realise that every time I do "rsnapshot hourly" I get a one shot. ... from a single command and crontab it when I'm a bit better organised. ... Also it sounds like you are pushing the backups to your backup machine, ... whereas I elected to pull to the workstation from the mail server. ...
    (RedHat)
  • backupedge 02.01.04 upgrade to 02.01.05 on OSR507 can clear roots crontab
    ... installed it, and during the install it asks you if you want to ... previously scheduled jobs were still going to work, ... Fortunately I have good backups and could restore root's crontab. ...
    (comp.unix.sco.misc)