bash/shell script question??

bruce badouglas at gmail.com
Thu Jun 12 13:04:25 UTC 2014


Hi.

Trying to run multiple copies of a test as a background process.

I can easily cut/copy/paste the test cmd in the shell, and a check of
the procTBL shows the instances are all running.

However, if I do the same thing, and put it in a test shell script,
when I run it, I don't get any of the instances running...

I'm flumoxed!

any thoughts on what I've screwed up/forgotten.

are there system err logs I might check to see what the issue might be??

thanks

!#/bin/sh
##
#


#start the new instance of the app


sleep 5
/ycrawl/dcrawl/run/yolo-master/YoloMasterGearmanQueueProcessAppDir/rateStateCollegeProcessy2.php
   < /dev/null     &
#sleep 1
/ycrawl/dcrawl/run/yolo-master/YoloMasterGearmanQueueProcessAppDir/rateStateCollegeProcessy2.php
   < /dev/null     &
#sleep 2
/ycrawl/dcrawl/run/yolo-master/YoloMasterGearmanQueueProcessAppDir/rateStateCollegeProcessy2.php
   < /dev/null     &
#sleep 2
/ycrawl/dcrawl/run/yolo-master/YoloMasterGearmanQueueProcessAppDir/rateStateCollegeProcessy2.php
   < /dev/null     &
#sleep 2
/ycrawl/dcrawl/run/yolo-master/YoloMasterGearmanQueueProcessAppDir/rateStateCollegeProcessy2.php
   < /dev/null     &
#sleep 2

/ycrawl/dcrawl/run/yolo-master/YoloMasterGearmanQueueProcessAppDir/rateStateCollegeProcessy2.php
   < /dev/null     &
#sleep 2
/ycrawl/dcrawl/run/yolo-master/YoloMasterGearmanQueueProcessAppDir/rateStateCollegeProcessy2.php
   < /dev/null     &
#sleep 2
/ycrawl/dcrawl/run/yolo-master/YoloMasterGearmanQueueProcessAppDir/rateStateCollegeProcessy2.php
   < /dev/null     &

exit


More information about the users mailing list