Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2005 18:54:40 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Brandon Hinesley <brandonh@hotandcold.biz>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Cron Job will not run.
Message-ID:  <20051104165440.GA15136@flame.pc>
In-Reply-To: <000001c5e15f$83e65420$6800a8c0@BrandonH>
References:  <20051104012922.GA1025@flame.pc> <000001c5e15f$83e65420$6800a8c0@BrandonH>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 2005-11-04 08:47, Brandon Hinesley <brandonh@hotandcold.biz> wrote:
> > > for (( i = $numbkups ; i >= 2 ; i-- ))
> > > do
> > >     let from=i-1
> > >     mv -fv $dbkups/$from $dbkups/$i
> > > done
> >
> > Hmmm, what shell is this supposed to run in?
> > It doesn't look like /bin/sh syntax to me.
>
> You're right... it's for /usr/local/bin/bash.  Obviously I had
> a lot more problems than I was aware of.  Its working now;
> thanks, I appreciate everyone's help.

Glad to have been of help.  Thanks for following up saying that
it works now, since people reading the thread in the archives
will know what the answer is :)




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20051104165440.GA15136>