Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Jo Størset
Den 8. nov. 2010 kl. 11.07 skrev Jason Pickering: > Thanks Jo. :). Guess I should have read the curl manual. :) That > worked like a charm. I have very, very basic needs at this point, > which consist essentially of being able to trigger data mart export > and report table generation at a schedu

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Jason Pickering
Thanks Jo. :). Guess I should have read the curl manual. :) That worked like a charm. I have very, very basic needs at this point, which consist essentially of being able to trigger data mart export and report table generation at a scheduled time. That's it. Perhaps 2.0.6 will take care of it, but

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Jo Størset
Den 7. nov. 2010 kl. 15.12 skrev Jason Pickering: > I think the automated data marts is a good feature, and might fit for > some users, but I can imagine situations where multiple actions might > need to be take place. Such as execute the data mart, execute some > report tables, export some data

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Bob Jolliffe
Use at your own risk :-) Really just me figuring out how to do cookies with python. On 7 November 2010 11:21, Jason Pickering wrote: > Hi Bob, > Would be good to see what you did with python. One man's trash it > another's treasure. :) > > Selenium seems a bit overkill perhaps. A simple script c

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Jason Pickering
Hi Bob, Would be good to see what you did with python. One man's trash it another's treasure. :) Selenium seems a bit overkill perhaps. A simple script called from the command line with cron/task scheduler would probably be more enough for me at this point, if I could figure out how to authenticat

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Knut Staring
On Sun, Nov 7, 2010 at 10:53 AM, Bob Jolliffe wrote: > I have worked around basic auth using python scripts and maintaining > state with cookies like the browser does, but it's a bit awkward and > I'm not sure I'd recommend it. > > I'll try and rummage back to find that (thrown away?) code. This

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Knut Staring
On Sun, Nov 7, 2010 at 10:53 AM, Bob Jolliffe wrote: > Hi > > On 7 November 2010 07:37, Jason Pickering 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

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Ola Hodne Titlestad
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 Inf

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Bob Jolliffe
Hi On 7 November 2010 07:37, Jason Pickering 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.io

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Jason Pickering
I think the automated data marts is a good feature, and might fit for some users, but I can imagine situations where multiple actions might need to be take place. Such as execute the data mart, execute some report tables, export some data to CSV and save it in a certain place, conduct a data integ

Re: [Dhis2-devs] Automating DHIS2

2010-11-07 Thread Knut Staring
On Sun, Nov 7, 2010 at 9:55 AM, Ola Hodne Titlestad wrote: > 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. Thats good.

[Dhis2-devs] Automating DHIS2

2010-11-07 Thread Jason Pickering
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