← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS Analytics Schedule

 

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  |  *rmelia@xxxxxxxxxxxx
Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
www.knowming.com

On Fri, Jul 31, 2015 at 9:57 AM, Jason Pickering <
jason.p.pickering@xxxxxxxxx> wrote:

> 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 Fri, Jul 31, 2015 at 10:43 AM, Rodolfo Melia <rmelia@xxxxxxxxxxxx>
> wrote:
>
>> 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 allow this setting,
>> but there must be a way of hacking the associated task. Have anyone do it?
>>
>> R
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+46764147049
>

References