Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cron Job

565514Jun 6 2007 — edited Jun 12 2007
Dear 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2007
Added on Jun 6 2007
12 comments
1,784 views