The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 03-12-2007
ranj@chn ranj@chn is offline
Playing with Ubuntu Now!
 

Join Date: Oct 2005
Location: Chennai
Posts: 364
Where is the file created?

Where is the file in the below statement created?
Code:
/usr/bin/mailx -s "METRIX : EXPEDITES : $ORACLE_SID $ (date)Expedites process Failed " $ERROR_MAIL < /tmp/expedites_test.lst  >/ dev/null
Thats what is failing with the file permission error. Could you check the file's existence and its permissions??And one more thing, In this code part
Code:
LOG_FILE="$TOP/log/$MODULE_NAME.$(date+%m%d.%H:%M)";export LOG_FILE
you should have a space after the 'date' command. it should be
Code:
date +%m%d.%H:%M
Reply With Quote