title: Executing an script with crontab returns 127 error code
body: <p>I am executing a script manually on my UNIX system manually, it runs successfully and updated required records in ORACLE database. How ever when I exwcute the same script with crontab my process exits with the error code 127.</p>
  
  <p>On analysing further, I got there is some problem in these statements.</p>
  
  <hr>
  
  <p>LOGFILE=sachin
  ORALOGIN=abc/abc@abcd</p>
  
  <h2>cmd='sqlplus ${ORALOGIN} &lt; SQLS >> ${SVC_HOME}/LOGFILES/${LOGFILE}.<code>date +%Y-%m-%d</code>';</h2>
  
  <p>eval $cmd</p>
  
  <p>Please suggest a solution</p>