Cron Job
565514Jun 6 2007 — edited Jun 12 2007Dear all,
I created simple script in the file name
1) test.sh
export PATH=$PATH:$ORACLE_HOME/bin
echo $PATH
2) Now i schedule this file through crontab -e and it will run in every one minute
01 * * * * /u04/test.sh /u04/test.log 2>&1
Note: When this file run it shoud give me the echo out put for my path variable.
but it's giving me this this path as output in logfile /usr/bin:/bin:/bin
But in my path variable i have this path=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/u00/app/oracle/pr
oduct/9.2.0/bin:/usr/vac/bin
Immediate help will be highly appreciated..
Thanks to all.