Problem Running PHP script through Cron


#1

Hey I am using the web panel to set up cron. I have the following command set to run:
/usr/local/bin/php5/home/osoisimo/rowerslog.com/cron/send_reminders.php

it should run every 10 min. However, it has yet to run. I have checked the script itself and it works. Why o why hasn’t it run?


#2

Try:
/usr/local/php5/bin/php /home/osoisimo/rowerslog.com/cron/send_reminders.php

Or:
/usr/bin/curl http://rowerslog.com/cron/send_reminders.php

The first is a direct PHP run. The second is my cheater way which makes the request via web.

-Scott


#3

Yep I had previously tried the first one and it didn’t make a difference. The second one however did it so thanks!

P.S. Does anybody know why it didn’t work the other way? It should work shouldn’t it?