Thread: Bug due to cron
View Single Post
Old 11-30-2005, 12:38 AM   #1
Edomondo
Orange Mole
 
Edomondo's Avatar
 
Join Date: Jan 2004
Location: In outer space
Posts: 37
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?
Edomondo is offline   Reply With Quote