[eluser]Unknown[/eluser]
Hi guys
I am hoping one of you can help me with my sendmail cron issue, as I cannot seem to get to the bottom of it.
I have a Codeigniter PHP file that works perfectly when run from the command line like so: "php /var/www/index.php mailer sendInstancesNear248" This script uses the postfix smarthost email server on the local box to send an email.
However, I have added this to my crontab using "sudo crontab -e" (So this has added it to the root user crontab if I recall).
This fails however and sends the following message to the root user "p/usr/share/sendmail/sendmail: 1248: /usr/sbin/sendmail-msp: not found".
The cron entry is as follows.
"20 21 * * 7 php /var/www/index.php mailer sendInstancesNear248"
Any ideas guys??