Date: Thu, 3 Nov 2005 16:33:34 -0800 From: "Brandon Hinesley" <brandonh@hotandcold.biz> To: "'Giorgos Keramidas'" <keramida@ceid.upatras.gr> Cc: freebsd-questions@freebsd.org Subject: RE: Cron Job will not run. Message-ID: <002401c5e0d7$64f3b1d0$6800a8c0@BrandonH> In-Reply-To: <20051103215644.GA34288@flame.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
Okay, the problem seems to be with a certain part of my script. Like I said, it works fine when I start it manually (./) I set up a few "checkpoints" if you will, and I determined that it's this loop that cron has a problem with: for (( i = $numbkups ; i >= 2 ; i-- )) do let from=i-1 mv -fv $dbkups/$from $dbkups/$i done This loop never runs and neither does anything after it. I don't see why cron would have any problem with this, or why this would exit the script...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002401c5e0d7$64f3b1d0$6800a8c0>