Thanks to all who looked at my problem. It was a dumb mistake on my part. I just had to put a line in my shell script that ran as cron job. Just added " . /.profile " at the top of my script that exported all the required environment variables. I had assumed that the .profile for root gets automatically executed before the cron job was run as root.
Again, Thanks to all of you Raj To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
