Cron Job will not run.

Brandon Hinesley brandonh at hotandcold.biz
Fri Nov 4 00:32:37 GMT 2005


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...




More information about the freebsd-questions mailing list