Hi Edward,
If you are using later versions of DHIS2  (I think 2.29 and above) you can
schedule analytics to run as you would like with the built in scheduler
app. See the docs.
<https://docs.dhis2.org/master/en/user/html/dataAdmin_scheduling.html#>

Many people also use custom cron scripts to trigger analytics via the API.
See the docs here
<https://docs.dhis2.org/master/en/developer/html/webapi_maintenance.html#>.

Depending on how much data you have, and the speed of your machine, you
should be able to run analytics much more frequently than once a day. Its
possible to perform "partial" runs, which would only run analytics on data
which is less than a year old for instance, but this too is configurable.

Best regards,
Jason


On Mon, Nov 5, 2018 at 10:39 AM Edward Robinson <
erobin...@projectbalance.com> wrote:

> Is there a way to have analytics run at a time of my choice?  We have two
> DHIS2 servers – a tracker for certain programs (TB, etc.) and an aggregate
> instance that encompasses aggregate data for all national programs.  We
> transfer data daily from certain program indicators on the tracker instance
> to data elements on the aggregate instance but would like all data captured
> that day on the tracker instance to be available on the aggregate instance
> following analytics.  As I understand it, we need to transfer the data
> using the API after analytics runs on the tracker instance, though it will
> only be available on the aggregate instance a day later since analytics
> will have run already when the data is transferred, effectively meaning
> data will be available 2 days later.
>
>
>
> Is there a good approach to solving this?  Some thoughts I’ve had include
> forcing analytics an hour earlier by setting the server time back and then
> forward again in a cron job.  Has anyone tried this?
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to