XML Sitemaps Discussions Category > Unlimited PHP Sitemap Generator

Cron job command line not working!!

(1/1)

membership6:
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.
--- End quote ---

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

XML-Sitemaps Support:
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

membership6:
Sorry my bad. It returned an error message saying it couldnīt find the below...

--- Quote ---/usr/local/bin/php /
--- End quote ---

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




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

Kind regards
Stefan

Navigation

[0] Message Index

Go to full version