[Dhis2-devs] DHIS Analytics Schedule

2015-07-31 Thread Rodolfo Melia
Hi - by default, once you schedule the analytics in DHIS, they run at midnight every night. The project that I'm working on has 10 years of data, and it takes about 60secs to run. The users would like to schedule the analtyics every 60min - how can I set the server to run hourly? The UI doesn't al

Re: [Dhis2-devs] DHIS Analytics Schedule

2015-07-31 Thread Jason Pickering
Hi Rodolfo, You can just use a cron job to start the analytics. You can ready about it here https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s29.html Most any scripting language (bash, python, NodeJS, R) to do fancy stuff or just plain call to curl should work fine. Regards, Jason On F

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19692: Externalized CacheStrategy and added Cacheable interface plus implementation thereof in Cacheable...

2015-07-31 Thread noreply
Merge authors: Halvdan Hoem Grelland (halvdanhg) revno: 19692 [merge] committer: Halvdan Hoem Grelland branch nick: dhis2 timestamp: Fri 2015-07-31 14:37:41 +0200 message: Externalized CacheStrategy and added Cacheable interface plus

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19693: Minor: indentation consistency (use 4 spaces)

2015-07-31 Thread noreply
revno: 19693 committer: Halvdan Hoem Grelland branch nick: dhis2 timestamp: Fri 2015-07-31 14:46:03 +0200 message: Minor: indentation consistency (use 4 spaces) modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dat

Re: [Dhis2-devs] DHIS2 Docs

2015-07-31 Thread Halvdan Grelland
Yes, eventually we could probably do that. First order of business is really to allow (external) files to be stored in lieu of the value field of DataValue. The details of how the model will look in the end is still to be decided and is very much dependent on the requirements of the storage backen

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19694: minor

2015-07-31 Thread noreply
revno: 19694 committer: Markus Bekken branch nick: dhis2 timestamp: Fri 2015-07-31 23:45:44 +0200 message: minor modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/services.js -- lp:dhis2 http

Re: [Dhis2-devs] DHIS Analytics Schedule

2015-07-31 Thread Rodolfo Melia
Jason - this is great. The load can be significantly reduced by skipping the resource tables, and only regenerating the last year of data. Thanks so much ! *Rodolfo MeliĆ”* *Principal | *rme...@knowming.com Skype: rod.melia | +44 777 576 4090 | +1 708 872 7636 www.knowming.com On Fri, Jul 31