So, I think corncobs is not a utility, but a pattern - you have cron run curl 
to invoke something on your web application on the localhost (and elsewhere), 
and it runs the job if the job needs running, thus the webapp keeps the state.

There's a utility cronlock (https://github.com/kvz/cronlock) that runs on top 
of Redis.   I was thinking that a common pattern would be something similar 
written in python using the kazoo module to dialog with zookeeper.   No point 
writing much Java for a cronjob, but python should be OK.   What I don't like 
about cronlock is that it isn't "run once", but instead avoids overlap, so 
there's good reason to write something specific to that case.

-----Original Message-----
From: Ahmet Arslan [mailto:iori...@yahoo.com.INVALID] 
Sent: Monday, August 31, 2015 1:35 PM
To: solr-user@lucene.apache.org
Subject: Re: DataImportHandler scheduling

Hi Troy,

I think folks use corncobs (with curl utility) provided by the Operating System.

Ahmet



On Monday, August 31, 2015 8:26 PM, Troy Edwards <tedwards415...@gmail.com> 
wrote:
I am having a hard time finding documentation on DataImportHandler scheduling 
in SolrCloud. Can someone please post a link to that? I have a requirement that 
the DIH should be initiated at a specific time Monday through Friday.

Thanks!

Reply via email to