View Full Version : 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
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 (http://www.phpdig.net/forum/showthread.php?t=872) thread, as there is a command, broken down by explanation, in post two of that thread.
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 (http://www.phpdig.net/navigation.php?action=doc#toc7) section of the documentation, and look at the last paragraph of that section.
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:
nohup command &
Where command is what you want:
nohup php -f spider.php links.txt > log.txt &
that is fine thank you ;)
vBulletin® v3.7.3, Copyright ©2000-2025, Jelsoft Enterprises Ltd.