Core iTOps Tube

Monday, 14 May 2012

Shell Script runs good manually but not through Cron tab

Hello Every one,



I have a shell script which is running fine manually, but its giving me hard time when running tru cron job. :wall:.



Am using #!/usr/bin/ksh


Code:


>echo $SHELL

/usr/bin/ksh


Cron Job is as below, it execues but dosent do what i want it to do.


Code:


47 15 * * * /home/a1372/ATV/ATV_test.sh > /home/a1372/ATV/atv_daily_cron.log

When i run this manually it runs without fail, Please let me know what can be done here. Appreciate your help.




No comments:

Post a Comment