Some how, variables are not getting exported while running the script in cronjob. Variable value is coming blank. But the variables are geting the value when the same script I am running manually. Any idea why?
you may want to consider using explicit paths instead of paths with variables in them. quite honestly, i've never seen variables used in a cron table before.
if anything, you may want to check to see if:
your script is running at all (check your local mailbox for cron errors(
I suggest that you change the default SHELL that CRON uses ( /bin/sh ?). I would change it to the default SHELL that your script is written in. You need to perform a man on cron to find it though. ' just a thought!