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