[Bio-Linux] Cron

Tony Travis a.travis at abdn.ac.uk
Mon Oct 4 10:32:41 EDT 2010


On 04/10/10 15:20, Cox, Michael J wrote:
> Hi Tim,
>
> welcome back!
>
> Correcting line 33 as your suggestion, saving and running gives the
> same message as previously:
>
> ./backup: line 101: backups[@]: unbound variable

Hello, Mike.

Line 101 is normally commented out:

#echo ${backups[@]} $level $compression_mode

I suspect that you've uncommented it...

> I also tried the Tonys' suggestion (thanks!) of creating a
> /etc/default/backup file, but sadly, no joy with running backup after
> this either.

The "backup" script will just exit if it encounters and error, for 
safety, just in case it accidentally zaps your precious backups ;-)

HTH,

   Tony.
-- 
Dr. A.J.Travis, University of Aberdeen, Rowett Institute of Nutrition
and Health, Greenburn Road, Bucksburn, Aberdeen AB21 9SB, Scotland, UK
tel +44(0)1224 712751, fax +44(0)1224 716687, http://www.rowett.ac.uk
mailto:a.travis at abdn.ac.uk, http://bioinformatics.rri.sari.ac.uk/~ajt



More information about the Bio-linux-list mailing list