Hi Dan The problem still persisits pls. help/suggest me what to do ?
When iam executing the xapipgm.pl it is getting executed properly but when iam trying to execute thru crontab it is not xapipgm.pl ************************************************************** #!/bin/sh #myrun.shell xapipgm=srvtst26.pl pgrep -f $xapipgm > /dev/null # runrc=$? # echo "Return Code is: $?" 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 on `date`.">log/init/ahdxapi.init.$1$2$3.$4$5.log 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 ************************************************************** Cron tab settings are as follows ________________________________________________________________________________________ * * * * * . /home/paradigm/.profile; /proj/ahd02/CAisd/site/mods/scripts/xapipgm.pl >> /proj/ahd02/CAisd/site/mods/scripts/log/init/ahdxapi.init.log 2>&1 _________________________________________________________________________________________ Access permsissons Details In the following path i have "/proj/ahd02/CAisd/site/mods/scripts"------------->Xapipgm.pl "/proj/ahd02/CAisd/site/mods/scripts/log/init"------------->ahdxapi.init.log and the access permission for log folder is drwxr-xr-x and init folder is drwxr-xr-x. And the log file name i.e (agdxapi.init.log) is -rwxrwxrwx rgds venkat -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]