crontab not working
406353Jul 18 2007 — edited Aug 3 2007I create a job (see below) to run under ORACLE user, but the job does not run at all. Can someone tell me what's wrong with it?
--------------------------------------------------------------------------------------------------
HOME=/home/oracle
LOGNAME=oracle
PATH=/usr/bin:/usr/sbin:
SHELL=/usr/bin/sh
50 9 * * * /home/oracle/myjob.sh > /home/oracle/log/cron.log
--------------------------------------------------------------------------------------------
The job "myjob.sh" can be successfully run with this command:
cd /home/oracle
./myjob.sh
Thanks in advance.