Thanks both Dean and Jan. It worked great! I wasnt receiving email from the crontab because i had > /dev/null 2>&1 at the end of the crontab line My mind was stuck to think that crontab may be using different path than my shell. PS: what a fast response, you both responded in less than 10 minutes