1

I have a PHP script that I run from cron. I never get emails.

maillog:

postfix/sendmail[2223187]: fatal: execv /usr/libexec/postfix/smtpd: Permission denied

Command-line:

* * * * * root /usr/bin/php /var/www/script.php

If I run this script from the command line or URL everything is fine. What is the difference between cron and other stuff?

mforsetti
  • 2,888
VJS
  • 11
  • 1

0 Answers0