Just run it in the background with the "&"

prompt> command &

Another option is put indexer in your crontab file.

- To edit your file
Prompt> crontab -e  

# this will call the shell script to run the indexer 
00 * * * * /path/to/indexer_script.sh


- And also create the indexer_script.sh

#!/bin/bash
# this is a sample script file

lockfile=/path/to/lockfile.pid

[ -e "$lockfile" ] && { 
        echo "Another process is running 
        exit
        }
 
#call your java progrma here


- Make sure you give the script execute perm.

Prompt> chmod u+x indexer_script.sh

 
HTH,
CC-


-----Original Message-----
From: lumavanossi [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 02, 2005 2:31 PM
To: nutch-user
Subject: SSh command

Hi,

 How to run nutch indexer on background?
 
 I have a dedicated server on a datacenter.
 At my Home computer I start the nutch index by SSH.
 Does my home computer need to be on while nutch indexer runs?
 

Thanks! 
 
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - � gr�tis!
http://antipopup.uol.com.br/



Reply via email to