Im unable to run scripts when i read each script thru a while loop. Is this way of execution thru while loop is wrong or is there any error in the script.
I get the following error msg and i use ksh.
./vftest.ksh[17]: ./add.ksh -customer 4875 -dim RD,TRND,TT,HS,MRKT,PRDC,ACV,CV,FCT: not found
contents of variable SCRIPT_LIST are
add.ksh -customer 4875 -dim RD,TRND,TT,HS,MRKT,PRDC,ACV,CV,FCT
div.ksh -customer 4875 -dim RD,TRND,TT,HS,MRKT,PRDC,ACV,CV,FCT
sub.ksh -customer 4875 -dim RD,TRND,TT,HS,MRKT,PRDC,ACV,CV,FCT
while read scrpt
do
./${scrpt} &
echo "Script running: ${scrpt}"
sleep 10
done < ${SCRIPT_LIST}