You can look at the api call here: https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_generating_resource_analytics_tables <https://docs.dhis2.org/master/en/developer/html/dhis2_developer_manual_full.html#webapi_generating_resource_analytics_tables>
Then you can create a curl based on that. Remember you need to have the right authority to start this process. (Administrate data mart) Hope this helps —— Stian Sandvold Software developer, DHIS 2 University of Oslo http://www.dhis2.org > On 16 Mar 2017, at 10:08, Trøyel Nerbø <[email protected]> wrote: > > Hi, > Does anyone know if there is a API call or similar to run analytics from > command line? Useful whenever I am restoring a database I need to immediately > run analytics if the table is removed from the backup. Couldn’t find anything > in the documentation on that. > > Thanks! > Trøyel > > > Best Regards > Halvar Trøyel Nerbø > Reporting Advisor > +47 992 39 817 > Skype: nrc_troyel > www.nrc.no <http://www.nrc.no/> > <image001.jpg> <http://www.nrc.no/> > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > <https://launchpad.net/~dhis2-devs> > Post to : [email protected] > <mailto:[email protected]> > Unsubscribe : https://launchpad.net/~dhis2-devs > <https://launchpad.net/~dhis2-devs> > More help : https://help.launchpad.net/ListHelp > <https://help.launchpad.net/ListHelp>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

