Hi Jason,
Scheduling of data mart exports is already a blueprint targetted for 2.0.6:
https://blueprints.launchpad.net/dhis2/+spec/datamart-jobsThe idea is to have this built-in and configurable from the DHIS UI.
Thats good. However, I think the more general principle of being able
to access DHIS2 functionality from command line tools would be very
valuable, particularly through RESTful URLs.
Knut
···
On Sun, Nov 7, 2010 at 9:55 AM, Ola Hodne Titlestad <olati@ifi.uio.no> wrote:
----------------------------------
Ola Hodne Titlestad (Mr)
HISP
Department of Informatics
University of OsloMobile: +47 48069736
Home address: Vetlandsvn. 95B, 0685 Oslo, Norway. Googlemaps linkOn 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: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help
--
Cheers,
Knut Staring