From owner-freebsd-questions@FreeBSD.ORG Fri Nov 4 16:54:55 2005 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1984316A41F for ; Fri, 4 Nov 2005 16:54:55 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4860D43D64 for ; Fri, 4 Nov 2005 16:54:54 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id jA4Gsnv9012734; Fri, 4 Nov 2005 18:54:49 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id jA4Gsegn019579; Fri, 4 Nov 2005 18:54:40 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id jA4Gseng019575; Fri, 4 Nov 2005 18:54:40 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 4 Nov 2005 18:54:40 +0200 From: Giorgos Keramidas To: Brandon Hinesley Message-ID: <20051104165440.GA15136@flame.pc> References: <20051104012922.GA1025@flame.pc> <000001c5e15f$83e65420$6800a8c0@BrandonH> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c5e15f$83e65420$6800a8c0@BrandonH> Cc: freebsd-questions@FreeBSD.org Subject: Re: Cron Job will not run. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2005 16:54:55 -0000 On 2005-11-04 08:47, Brandon Hinesley 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 :)