|
11-06-2006, 08:48 PM | #1 |
Green Mole
Join Date: Nov 2006
Posts: 1
|
command line indexing that actually works
I tried about every suggestion in this forum, and I could not get a command-line index updating to work... the documentation says to run spider with /usr/bin/php -f, several people suggested usign wget or lynx to simulate loading it via the web... nothing worked. It would not give any errors, it just never did ANYTHING to the index.
Finally, instead of putting the /usr/bin/php -f in front of my /path/to/phpdig/admin/spider.php, I just set the permissions on spider.php to 744 (owner can execute, everyone else can only read) and called it directly, like this... /path/to/phpdig/admin/spider.php all and it works like a charm... I was able to put that simple command into cron and it re-indexes every night now. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Command line vs. admin indexing | wx3 | Troubleshooting | 8 | 09-08-2004 12:31 AM |
Can I close Putty during command line indexing? | Nosmada | How-to Forum | 7 | 01-23-2004 03:46 PM |
indexing from command line with text file | Wayne McBryde | Troubleshooting | 8 | 01-12-2004 05:56 PM |
Indexing by command line... | Canadian | How-to Forum | 4 | 01-04-2004 06:44 PM |
Indexing by command line interface | Skop | Troubleshooting | 8 | 10-14-2003 02:23 AM |