Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i'm running ubuntu.

my cron job:

* * * * * cd /var/www/cron; php -f sendQueuedEmails.php

is set but is not running. when i run:

http://localhost/cron/sendQueuedEmails.php

inside firefox it works perfectly, but when i run:

php sendQueuedEmails.php

from the terminal, i get no errors and no output.

what could be the problem?

share

merged by Kyle Brandt Aug 5 '10 at 22:40

this question was merged with CronTab: Not running my PHP scripts? because it is an exact duplicate of that question.

Browse other questions tagged or ask your own question.