PHP script not sending email when called throught a cron with lynx
It works ok with lynx via the command line and through IE.
Why is this not working through a cron?
PHP script not sending email when called throught a cron with lynx
It works ok with lynx via the command line and through IE.
Why is this not working through a cron?
the question is why are you using cron to run a php file with lynx?
instead of putting in the lynx command just use somethign along the lines of
/usr/local/bin/php -q -f /path/to/file.php
and it will do it without lynx.
The file is not on the server I am running the crontab from.
I've actually seen a trend in this lately. More than a few of our customers have cron entries like this:Originally Posted by MarkReaktor7
http://domain.com/article/weekmailer.php
Tom
What? Am I missing something?Originally Posted by netwrkr
Not Found
The requested URL /article/weekmailer.php was not found on this server.
Apache Server at domain.com Port 80
Yes, the above URL is an example and the resource to which it points does not actually exist.Originally Posted by surf chick
Ah, ok. Now I feel silly.
What about the problem of no emails being received? Did anyone solve that? I've got a cron job backing up a database which works fine but it's not sending (or I'm not receiving) the email notification.
anyone? Surf Chick?
The thread you've posted to is from 2006, so it is unlikely the original posters are still watching this thread.
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Forums Technical Analyst, cPanel Tech Support
Submit a ticket | Check an existing ticket