What exactly do you mean by "on cron job email"? If you set the cron job up manually via command line then the error may have something to do with the user executing the command. crontab -u www-data -e should allow you to set up a cron job for the apache user.