filePro data entry failing on restored 5.6.10D4 Linux server - SOLVED!!!

Kenneth Brody kenbrody at spamcop.net
Fri Jan 29 09:18:40 PST 2016


On 1/29/2016 12:03 PM, Mike Schwartz wrote:
[...]
>   [mjs] scoansi # cat reindex echo "Started `date`"
> /home/mjs/retime cd /u/appl/filepro for file in *
>        do echo $file
>        cd $file
>           /u/appl/fp/lib/freechain $file

Why not replace all of this;

>        for indx in `ls index.[A-H] 2>/home/mjs/retime`
>            do echo $file $indx
>            echo $file $indx `date` >>/home/mjs/retime
>            i=`echo $indx | sed s,index.,,`
>            echo $file $index $i
>            /u/appl/fp/dxmaint $file -o$i -r -a -e
>           sleep 2
>        done

with:

     echo $file `date` >>/home/mjs/retime
     /u/appl/fp/dxmaint $file -ra -e

(And what's the purpose of the "sleep 2" aside from slowing down the rebuild?)

>        cd ..
>   done
>   echo "Ended `date`" >>/home/mjs/retime
[...]

-- 
Kenneth Brody


More information about the Filepro-list mailing list