Welcome Guest, Not a member yet? Register   Sign In
Can anyone answer my sendmail cron conundrum?
#1

[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??


Messages In This Thread
Can anyone answer my sendmail cron conundrum? - by El Forum - 01-20-2012, 09:07 AM
Can anyone answer my sendmail cron conundrum? - by El Forum - 01-20-2012, 01:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB