no not yet i havent got any solution of it -----Original Message----- From: Trina Espinoza [mailto:[EMAIL PROTECTED] Sent: Monday, 18 August 2003 7:56 PM To: Vema Venkata; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Cron jobs and perl
Sorry for being so unresponsive Vema! I was away from my desk when you had your problems. Unfortunately, I am still trying to get my cron job working. My job seems to pick up fine, but then it drops the path half way through because it doesn't understand the path.The path is an absolute path which exists so I am surprised that the paths structure is a problem . If this sounds like the problem you script is exhibiting, then you and I are in the same bind. David recommended that I should try 8.3 filenames, but have had no luck yet. Let me know if you figure out a solution and I will do the same. -T ----- Original Message ----- From: "Vema Venkata" <[EMAIL PROTECTED]> To: "David T-G" <[EMAIL PROTECTED]> Cc: "perl beginners" <[EMAIL PROTECTED]> Sent: Monday, August 18, 2003 4:34 AM Subject: RE: Cron jobs and perl Hi david when i am trying to run the following script it is getting executed but when iam tryint to execute thru corntab it is not?can any one suggest the script name is 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 ************************************************************************ ********corn tab settings ************************************************************************ **** 1-59 * * * * . /home/paradigm/.profile; /proj/ahd02/CAisd/site/mods/scripts/xapipgm.pl > /proj/ahd02/CAisd/site/mods/scripts/log/init/ahdxapi.init...log>> /proj/ahd02/CAisd/site/mods/scripts/log/init/ahdxapi.init...log ************************************************************************ ***** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]