Vema Venkata wrote:

Hi All
My code looks like this



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 now Started Running."
set `date '+%Y %m %d %H %M' `
xapipgm=srvtst26.pl
perl -w $xapipgm >log/init/ahdxapi.init.$1$2$3.$4$5.log 2>log/init/ahdxapi.init.$1$2$3.$4$5.err
perl -w $4$5>log/init/ahdxapi.init
fi



it is running fine and i need to incorporate a log file can any body suggest me on this



This is a shell script and this is a perl mailing list. You will get a faster reply if you post this in one of the shell mailing lists or newsgroups
Marking this as OT



rgds venkat






-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to