Hi Gurus

i got stuck up on continuing further,i have a pgm called "xapipgm" running when it 
stopped it has to automatically executed by calling #AHDXPAIINIT# 

can any one help on this 

wud be appreicated ur reply asap.

regards

venkat

 

 

#AHDXAPICHECK#

xapipgm=srvtst26.pl

pgrep -f $xapipgm > /dev/null

if [ $? -eq 0 ]

then

set `pgrep -f $xapipgm `

#### echo "AHD XAPI Server ($xapipgm) Running with Process Id: $1"

####else 

####echo "AHD XAPI Server is not running"

###fi

 

#AHDXPAIINIT#

set `date '+%Y %m %d %H %M' `

xapipgm=srvtst26.pl

echo "log: log/init/ahdxapi.init.$1$2$3.$4$5.log"

echo "err: log/init/ahdxapi.init.$1$2$3.$4$5.err"

perl -w $xapipgm >log/init/ahdxapi.init.$1$2$3.$4$5.log 
2>log/init/ahdxapi.init.$1$2$3.$4$5.err

fi










Venkata Suresh Babu.V 
G/182 Forster Road 
Mt. Waverley 
VIC 3149 
Phone      9541 8087 
Mail To     [EMAIL PROTECTED] 

This e-mail and any attachments to it (the "Communication") is confidential and is for 
the use only of the intended recipient. The Communication may contain copyright 
material of Australia and New Zealand Banking Group Limited ABN 11 005 357 522 
("ANZ"), of any of its related entities or of third parties. If you are not the 
intended recipient of the Communication, please notify the sender immediately by 
return e-mail, delete the Communication, and do not read, copy, print, retransmit, 
store or act in reliance on the Communication. Any views expressed in the 
Communication are those of the individual sender only, unless expressly stated to be 
those of ANZ. ANZ does not guarantee the integrity of the Communication, or that it is 
free from errors, viruses or interference.

 

 

Reply via email to