PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   How To stop spider by shell command ? (http://www.phpdig.net/forum/showthread.php?t=2219)

noel 10-30-2005 05:05 PM

How To stop spider by shell command ?
 
How To stop spider by shell command ?

How to know if there is spider that is crawling in memory, using shell command ?

Is it possible to put on the spider whit putty shell software, and close putty ?
Or when I close putty the spider stop ?

Thank you


Noël

Charter 11-01-2005 04:04 PM

Quote:

How To stop spider by shell command ?

How to know if there is spider that is crawling in memory, using shell command ?
Check out this thread, as there is a command, broken down by explanation, in post two of that thread.

Quote:

Is it possible to put on the spider whit putty shell software, and close putty ?
Or when I close putty the spider stop ?
To run a process in the background, check out this section of the documentation, and look at the last paragraph of that section.

noel 11-02-2005 10:45 AM

Hi Charter, Thank you for your replies ;)
For the first it is OK, but for the second answer if I put & at the end of the line commande, putty gives the hand immediately but if I close putty it stops the spider ;(

Charter 11-02-2005 11:24 AM

Use nohup in front and & in back:
Code:

nohup command &
Where command is what you want:
Code:

nohup php -f spider.php links.txt > log.txt &

noel 11-03-2005 01:06 PM

that is fine thank you ;)


All times are GMT -8. The time now is 12:55 AM.

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