Cron job command line not working!!
« on: November 25, 2010, 04:46:24 PM »
Hi,

I am trying to set up the cron job for the first time. When I enter the command line given by the software into the line for cron jobs within scheduled tasks of my host provider I get following error message:
Quote
Your script returned the following: Canīt find '/usr/local/php'. Check that you have the correct location.

I am using the given location: /usr/local/bin/php /home/sites/mysite.com/public_html/generator/runcrawl.php

Please help me get this running. What is wrong?

Kind regards
Stefan
Re: Cron job command line not working!!
« Reply #1 on: November 25, 2010, 04:58:25 PM »
Hello,

from the error message it seems like you have specified "/usr/local/php" - make sure that it's either "/usr/local/bin/php" or /usr/bin/php
Re: Cron job command line not working!!
« Reply #2 on: November 25, 2010, 06:24:30 PM »
Sorry my bad. It returned an error message saying it couldnīt find the below...
Quote
/usr/local/bin/php /

I tried the other option and gave me following error message...




I donīt get it...please help!

Kind regards
Stefan