cron os x server
« on: March 28, 2006, 07: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.
Re: cron os x server
« Reply #1 on: March 28, 2006, 09:45:21 PM »
Hello,

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

Thanks!