开发者

Cron job, execute php script

开发者 https://www.devze.com 2022-12-18 13:01 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号