Hi,
you can use wget if available on your server, e.g. command
wget --quiet
'http://181.163.64.228:8983/solr/db/dataimport?command=delta-import'
Cheers,
Stefan
Am 22.12.2010 12:31, schrieb Ruixiang Zhang:
I want to run delta-import in Crontab but don't know how.
I used php file in Crontab before, like:
command: php /home/user/public_html/auto.php
I tried:
command:
/home/user/public_html/solr/apache-solr-1.4.1/example/example-DIH/solr/db/dataimport?command=delta-import
It didn't work.
The url I run in browser is:
http://181.163.64.228:8983/solr/db/dataimport?command=delta-import
Thanks
Richard
--
*******************************************
Stefan Moises
Senior Softwareentwickler
shoptimax GmbH
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck
Tel.: 0911/25566-25
Fax: 0911/25566-29
moi...@shoptimax.de
http://www.shoptimax.de
*******************************************