Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm running ubuntu.

my cron job:

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

is set but is not running. when i run:


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?


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.