I want to run a php script every morning, the script would send an email.
But the email I get from cron always contains an error message.
Can somebody please help?
I want to run a php script every morning, the script would send an email.
But the email I get from cron always contains an error message.
Can somebody please help?
Post your script, crontab line and error. You might want to try piping your script output to sendmail instead of sending mail through PHP.