| alfonzo Kreider 2007-01-22, 1:15 am |
| Is there a bug in cron??
I am using Debian testing and cron 3.0pl1-97.
The cron timed Flexbackup which has been working the way is should for the
last 2 years has changed.
If you are familiar with flexbackup:
in flexbackup.conf there is a $set varable to define the directories to be
backed up.
$set{'backup'} = "/home /etc /var /usr/local";
in /etc/cron.daily is a script which runs flecxbackup and determines the
level of backup acording to the day
/usr/bin/flexbackup -set all -level $(expr \( $(date +%w) - $LVL0DAY \) %
7)
The -set all should cause flexbackup to backup ALL dir defined by $set;
"/home /etc /var /usr/local"
Only the first dir is now being backed up "/home".
I wrote a script for the Gnome launcher
sudo /etc/cron.daily/flexbackup
which runs the same script that cron should run, now ALL dir defined by
$set are backed up as the should.
Has anyone run into this?
Al
|