Problem with crontab entry

Hi,

I have a shell script which needs to be run at 5 am everyday.I have crontab entry as "0 5 * * 0-6 /wfsdev1/app/edw/bin/HealthCh.sh" but this job is not running at scheduled time.What can be the possible reasons for this?

Thanks,
Anil

check /var/cron/log whether that cron job is executed or not or else there might be an NTP issue ,which is not synchronized

Hi,
I found below error :

wfedwd02$ cd /var/cron/log
ksh: /var/cron/log:  not found.

What can be the reason for this?

Thanks,
Anil

check the file /var/log/cron.
Also check whether the crond process is runing if it linux, if it solaris 10 check whether cron service is up.
svcs -a | grep cron

If the process is not running start the processes.

In your script (/wfsdev1/app/edw/bin/HealthCh.sh)

If you used any files ( for calculation, processing, temporary storage..etc ), then use the absolute path for those files.

Thanks.It worked by using absolute path.