XML Sitemaps Generator

Author Topic: Cron job command line not working!!  (Read 8936 times)

membership6

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

membership6

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
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

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2