PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Bug due to cron (http://www.phpdig.net/forum/showthread.php?t=2269)

Edomondo 11-30-2005 12:38 AM

Bug due to cron
 
Hi there,

I have a cron that refresh my index every night.
Last morning, the hosting company contacted me because the log file was growing 0.5 Go every half-hour.

I realized the cron launched the day before was still active.
So when the current day cron was trying to index a site locked by the first cron, the log was returning an error message, causing the file to grow dramatically.

I'd like to know what can I do to stop any spidering before launching a new one. Should I include the link to stop_spider.php?stop=1 on the top of spider.php?
Or do you know of other way to do so?


All times are GMT -8. The time now is 07:41 AM.

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