I'm having some difficulties getting the mail to send automatically via the cron. I have followed the installation guide and successfully installed moodle on my own webhosted space using a Cpanel interface. No problem.
I followed the instructions for setting up the cron, and my cpanel provided an excellent interface for doing so. I've had my own moodle mail settings both through smpt and then left blank to let the php do the mail. I've checked that my cron file works, and it does. I've had an extensive number of back and forth correspondences with my webhosting folks, and I still haven't found a solution.
I think the problem may be a permissions problem, and I was hoping someone might have run into this problem too and know a solution. About two to three times a day, I receive an email from the cron daemon of my webhost that reads:
/bin/sh: /usr/bin/wget: Permission denied
Someone from my webhost suggested I go in an change the permissions on the cron.php file. My question is whether this is the file I should change the permissions for? What should its permissions be. I noticed that for this file the read and write privileges were checked, but not "execute."