PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 10-30-2005, 05:05 PM   #1
noel
Orange Mole
 
Join Date: Aug 2005
Posts: 44
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
noel is offline   Reply With Quote
Old 11-01-2005, 04:04 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 11-02-2005, 10:45 AM   #3
noel
Orange Mole
 
Join Date: Aug 2005
Posts: 44
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 ;(
noel is offline   Reply With Quote
Old 11-02-2005, 11:24 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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 &
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 11-03-2005, 01:06 PM   #5
noel
Orange Mole
 
Join Date: Aug 2005
Posts: 44
that is fine thank you
noel is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spider.php in shell don't work TikkY Troubleshooting 1 03-25-2006 06:02 PM
Can I make the spider stop and start on a dime? dewed How-to Forum 0 11-25-2005 11:54 AM
Shell command no indexing noel Troubleshooting 3 10-27-2005 10:22 AM
auto indexing without shell command takpoli How-to Forum 1 04-29-2004 07:26 AM
Fixing spider.php, protecting from locking site after timeout or users stop Konstantine Mod Submissions 3 04-09-2004 12:37 PM


All times are GMT -8. The time now is 04:31 AM.


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