PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 10-27-2005, 01:59 AM   #1
jjoel
Awaiting Email
 
Join Date: Sep 2005
Location: Coruche, Portugal
Posts: 4
Script to do that in cronjob?

Hello, I`m from Portugal, and my English is not good, I´m sorry.

What i ask is some script to "set links per to zero, and choose the no option" and then run the spider.php to re-index, in cronjob.

If exist another option to re-index new links, maybe this is the solution i need.


Thankyou.

jjoel
jjoel is offline   Reply With Quote
Old 10-27-2005, 10:55 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
There is a thread here that gives instructions for how to set up a cron job. Also check the config file for CRON SETTINGS and comments, and nix this bug.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 10-27-2005, 12:05 PM   #3
jjoel
Awaiting Email
 
Join Date: Sep 2005
Location: Coruche, Portugal
Posts: 4
Ok, but the cronjob will go to make a update from updatetable?, or it will index new links?

i mean, if i have 12 links, after the update i have the same 12 links, the spider dont index new links!
Need help
jjoel is offline   Reply With Quote
Old 10-29-2005, 05:19 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
If you are using the update sites option in the admin panel, then clicking check marks reindexes the content already there. To find new content, use the textbox on the main admin panel page, and enter a link to an updated page. Alternatively, you can use the forceall option when running a cron job or provide a link to an updated page. If you want to index more, rather than less, content then set LIMIT_TO_DIRECTORY to false and PHPDIG_IN_DOMAIN to true in the config file, and then from the admin panel, use a large search depth, links per of zero, and choose the no option. Also, in the config file there are the following search depth and links per options:
Code:
define('SPIDER_MAX_LIMIT',20);                   // max (re)index search depth - used for shell and admin panel dropdown
define('RESPIDER_LIMIT',5);                      // max update search depth - only used for browser, not used for shell

define('LINKS_MAX_LIMIT',20);                    // max (re)index links per - used for shell and admin panel dropdown
define('RELINKS_LIMIT',5);                       // max update links per - only used for browser, not used for shell
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not index certain links? Drexel How-to Forum 2 10-27-2005 09:55 PM
the same problem - not index all links redlock Troubleshooting 0 12-28-2004 06:36 AM
how to manual insert into base links for index? zaartix How-to Forum 3 12-09-2004 12:36 PM


All times are GMT -8. The time now is 10:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.