Indexing by command line interface
Hi,
i installed phpdig 1.6.2 in a linux machine and now i'm trying to index by command line. PHP Code:
PHP Code:
Some ideas? Thanks a lot. JS |
Hi. Here are some suggestions.
If CGI mode, perhaps try the following: Code:
#!/usr/bin/php4 -f [path]/search/admin/spider.php forceall >> /tmp/phpdig.log Code:
php -f admin/spider.php forceall > phpdig.log In the config file, change the following to one if updating before seven days have past: PHP Code:
PHP Code:
|
Quote:
PHP Code:
Thanks a lot. |
Hmm,
command Line is something with difficulty. I also have many attempts until it works. I think it shoult be change in the one of the next versions to work better with all Operating Systems, because it is important that it works fine, when you will indexing frequently Content Sites daily with Cron jobs or Windows Tasks. Read this: http://www.phpdig.net/showthread.php?s=&threadid=56 -Roland- |
Quote:
Thanks a lot JS |
Hi. It looks like the renice command is working as 848: old priority 0, new priority 18 appears in the log file, but you could try commenting that line out. The renice command is for setting the priority of the spidering process.
Are there any files besides keepalive.txt in the text_content dir? |
Quote:
The text_content dir is empty (except keepalive.txt [2 b]) For now i've this solution: I use the lynx for call the function: PHP Code:
JS |
Quote:
Code:
php -f test.php PHP Code:
|
Quote:
|
All times are GMT -8. The time now is 07:55 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.