PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   indexing with pauses (http://www.phpdig.net/forum/showthread.php?t=464)

shinji 01-30-2004 05:03 AM

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 ;)

Charter 01-30-2004 12:07 PM

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.

shinji 01-31-2004 02:09 AM

and.. can someone tell me how i can stop the spider.php after a certain time or when it's *?

Charter 02-05-2004 06:26 AM

Hi. Not sure of your OS but you might try this command.

shinji 02-05-2004 12:50 PM

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 ):D

Charter 02-05-2004 02:46 PM

Hi. You might find this function useful.


All times are GMT -8. The time now is 08:17 PM.

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