Automating DHIS2

Hi Jason,

Scheduling of data mart exports is already a blueprint targetted for 2.0.6:
https://blueprints.launchpad.net/dhis2/+spec/datamart-jobs

The idea is to have this built-in and configurable from the DHIS UI.

···

Ola Hodne Titlestad (Mr)
HISP
Department of Informatics
University of Oslo

Mobile: +47 48069736
Home address: Vetlandsvn. 95B, 0685 Oslo, Norway. Googlemaps link

On 7 November 2010 08:37, Jason Pickering jason.p.pickering@gmail.com wrote:

Hi . I was wondering if anyone has done any scripting to automate

certain tasks (namely the datamart) with DHIS2. I came across this

utility for Firefox which was extremely easy to use and did pretty

much what I wanted.

http://www.iopus.com/imacros/firefox/?ref=fxtab

Usually, I would do this sort of thing through a shell script, but I

have not really figured out how to login to DHIS2 through a command

line tool like wget. Basic HTTP authentication does not seem to be

supported, but I thought I had seen a commit about this some time ago.

Basically, I think it would be very useful to be able to

programatically call URLs, for instance to regenerate the datamart and

report tables on a period and scheduled basis. This iMacro extension

is free, but only the paid version can be used through the command

line or Windows Task Scheduler. Any one else have some ideas how this

could be done?

Regards,

Jason

Jason P. Pickering

email: jason.p.pickering@gmail.com

tel:+260968395190


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp