Cron job, execute php script
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 pleas开发者_如何学Ce help?
Yes. I'm sure someone here can.
Post your script, crontab line and error. You might want to try piping your script output to sendmail instead of sending mail through PHP.
精彩评论