![]() |
Problem running cron job
I am able to run the spider from the shell and index URLs in a file using
Code:
php -f spider.php newurls.txt >> spider.log Code:
0 1 * * * php -f spider.php newurls.txt >> spider.log Code:
/bin/sh: php: command not found Any help would be appreciated. |
>> Which command is the error referring to?
Hi. Looks like it refers to PHP as not found. Perhaps try the following instead: Code:
0 1 * * * /full/path/to/php -f /full/path/to/spider.php /full/path/to/newurls.txt >> /full/path/to/spider.log |
All times are GMT -8. The time now is 12:09 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.