XML Sitemaps Generator

Author Topic: cron os x server  (Read 28823 times)

eric2

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
cron os x server
« on: March 28, 2006, 06:50:19 PM »
Hi there. Great script, but I'm having a problem setting up the cron job. Here's the error I'm getting:

Warning: Unknown(index.php4): failed to open stream: No such file or directory in /Library/WebServer/Documents/goget_realestate_com/generator/runcrawl.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 9

Warning: (null)(): Failed opening 'index.php4' for inclusion (include_path='.:/usr/lib/php') in /Library/WebServer/Documents/goget_realestate_com/generator/runcrawl.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 9

Here's the cron:
/usr/bin/php /Library/WebServer/Documents/goget_realestate_com/generator/runcrawl.php

I'm running php5. I have a feeling I have a path problem with the cron, based on the php4 reference above. In /usr/bin I do see php. In usr/local I have directories "php" and "php5". Confused.

TIA for the help.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10622
Re: cron os x server
« Reply #1 on: March 28, 2006, 08:45:21 PM »
Hello,

this problem may appear depending on your PHP configuration.
Personal Message sent to you with possible workaround.

Thanks!
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.

 

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