Re: Crontab for delta-import

2010-12-22 Thread Stefan Moises
Just call wget http://www.somedomain.com on the console to see if it is available... Depends on your distro where it is installed and how to install it... I have mine in /usr/bin/wget Alternatively, use lynx or curl as command, e.g. curl --silent 'http://181.163.64.228:8983/solr/db/dataimport?c

Re: Crontab for delta-import

2010-12-22 Thread Ruixiang Zhang
Thanks for your quick reply. I couldn't find the wget on my server. Do you know where it should be located or how I can check if I have it on my server? If not, can I install one? Thanks On Wed, Dec 22, 2010 at 3:38 AM, Stefan Moises wrote: > Hi, > > you can use wget if available on your server

Re: Crontab for delta-import

2010-12-22 Thread Stefan Moises
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 b

Crontab for delta-import

2010-12-22 Thread 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