PhpDig.net

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

Reply
 
Thread Tools
Old 01-30-2004, 05:03 AM   #1
shinji
Green Mole
 
Join Date: Jan 2004
Location: Hamm/NRW/Germany
Posts: 26
indexing with pauses

Hi,

is it possible to um... like say 'pause' the indexing process?
as example i run the spider.php per cron...
it should start then, and phpdig stops the process after as example 4 hours and if i run the cron again it should restart at the page it stopped

thx charter for your wasted time
shinji is offline   Reply With Quote
Old 01-30-2004, 12:07 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. If PhpDig is stopped prematurely, there may be info left in the tempspider table, and this info should be picked up in the next index cycle.
__________________
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 01-31-2004, 02:09 AM   #3
shinji
Green Mole
 
Join Date: Jan 2004
Location: Hamm/NRW/Germany
Posts: 26
and.. can someone tell me how i can stop the spider.php after a certain time or when it's *?
shinji is offline   Reply With Quote
Old 02-05-2004, 06:26 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Not sure of your OS but you might try this command.
__________________
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 02-05-2004, 12:50 PM   #5
shinji
Green Mole
 
Join Date: Jan 2004
Location: Hamm/NRW/Germany
Posts: 26
ok stop/continue works perfect ^^ (debian)

but how can i make a cron using it while the php process have an dynamic pid?
(i dont need to entirely kill the spider then and it can run as would nothing happen to it )

Last edited by shinji; 02-05-2004 at 12:53 PM.
shinji is offline   Reply With Quote
Old 02-05-2004, 02:46 PM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. You might find this function useful.
__________________
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

Thread Tools

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


All times are GMT -8. The time now is 06:09 PM.


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