You could call the org.apache.nutch.crawl.Crawl.main method from your 
servlet to initiate the crawl.

Dennis

frgrfg gfsdgffsd wrote:
> Hi all!
>
> I would like to automate all my crawls and searches at a scheduled time each 
> week. I got it fine for the search from my java servlet, but:
>
> Is there any other way to launch the crawl rather than on command line under 
> linux? I mean is it possible to launch it from a servlet for example, or a 
> jsp... (till now I am using the crontab, which asks to mange both the servlet 
> for the search and linux crontab for the crawl...)
>
> Any tips?
>
> Thanks a lot!
>
> Mat
>
>
>
>
>       
>
>       
>               
> ___________________________________________________________________________ 
> Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
> interface révolutionnaire.
> http://fr.mail.yahoo.com
>   

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to