I am running bteq through shell script. When I ran shell script manually it worked as expected.
when I tried of running same script through crontab, script is running but bteq not executing at all.
Where am I making mistake?
Anyone could help me out here?
49 15 * * 1 /usr/bin/sh /home/support/DBQLogs/DBQLogexp_del.sh >> /home/support/DBQLogs/DBQLogexp_del_log.txt 2>&1
Did you not read the posts above? When cron runs your script, it does not source your user profile. Some options are given above, or Google search for cron profile environment to see some other ideas.
Thanks fred ..
your suggestion to search on google gave me some clear idea about cron environment.
And above options helped me lot..