The script checks the files and sends the report function mail (). If you run through the browser - everything is OK. When launched via cron, the script does everything (job records are added to the script log file), but mail is not sent. What could be the problem?

  • Maybe there is error logs? What happens if you manually start cron, will there be any errors? You can play with mail() - write the simplest script from this one function and see how it will work. - Ivan Bolnikh
  • @IvanBolnikh there is no way to manually start it - just specify Godaddy through the hoster panel The script from one function also does not work through cron, although through the browser everything is ok. - Oleg
  • Errors from the script does not display? May need to contact with support or FAQ to read. - Ivan Bolnikh
  • @IvanBolnikh there is no support in Godaddy (more precisely, there is, but in English and only by phone). There is no solution in the FAQ. There are no errors in the crown logs either. Found a solution here: stackoverflow.com/questions/20880724/… - Oleg

0