Search Mailing List Archives
[bioontology-support] Ontology Parsing
Konstantinos Giannoutakis
kgiannou at iti.gr
Wed Dec 9 06:43:56 PST 2015
Hi Michael,
Thank you for your support!
I tried to add the line in my /srv/ncbo/ncbo_cron/config/config.rb :
begin
NcboCron.config do |config|
config.redis_host = "localhost"
config.redis_port = 6379
config.enable_ontology_analytics = false
config.enable_ontologies_report = false
# Schedulues
config.cron_schedule = "30 */4 * * *"
# Pull schedule
config.pull_schedule = "00 18 * * *"
config.seconds_between = 10
end
rescue NameError
#binding.pry
puts "(CNFG) >> NcboCron not available, cannot load config"
end
but I think the parsing interval has not changed from the default one.
Thank you!
On 7/12/2015 10:18 μμ, Michael Dorf wrote:
> Hi Konstantinos,
>
> I believe you can accomplish this by adding the following setting in
> your config.rb file:
> config.seconds_between = 10
> It should be added inside the NcboCron.config block:
> NcboCron.config do |config| config.seconds_between = 10end
> Thank you for contacting us and please let me know if this worked!
>
> Michael
>
>> On Dec 4, 2015, at 16:53, Alex Skrenchuk <alex.skrenchuk at stanford.edu
>> <mailto:alex.skrenchuk at stanford.edu>> wrote:
>>
>> Hi Konstantinos,
>>
>> We haven't had the need to reduce scheduler interval to anything less
>> than 5 minutes. Theoretically it should be possible to go as low as
>> 1 minute but I would have to get back to you on how to do it.
>>
>> Thanks,
>> Alex
>>
>> -----Original Message-----
>> From: bioontology-support
>> [mailto:bioontology-support-bounces at lists.stanford.edu] On Behalf Of
>> Konstantinos Giannoutakis
>> Sent: Thursday, December 03, 2015 8:22 AM
>> To: support at bioontology.org <mailto:support at bioontology.org>
>> Subject: [bioontology-support] Ontology Parsing
>>
>> I use the latest bioportal appliance and I would like to change the
>> time interval that the ncbo_cron scheduler parses the ontology
>> submissions (i.e. run it every 10 seconds).
>>
>> Is it possible? Any help is much appreciated!
>> _______________________________________________
>> bioontology-support mailing list
>> bioontology-support at lists.stanford.edu
>> <mailto:bioontology-support at lists.stanford.edu>
>> https://mailman.stanford.edu/mailman/listinfo/bioontology-support
>>
>> _______________________________________________
>> bioontology-support mailing list
>> bioontology-support at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/bioontology-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20151209/6d961203/attachment.html>
More information about the bioontology-support
mailing list