← Back to team overview

dhis2-devs team mailing list archive

Re: Controlling datamart scheduling

 

Just thinking aloud, but since the introduction of 2.8,there is not much to
parameterize. Would just like to be able to trigger the set data mart task
with a cron job based on a particular circumstance, for instance a time or
particular event . This could be extended to the resource tables as well
which often need to be regenerated by for instance the addition of a new
organization unit.

--
Sent from my mobile
On Jun 5, 2012 8:26 PM, "Lars Helge Øverland" <larshelge@xxxxxxxxx> wrote:

> Expose triggering of data mart exports through the web api sounds
> useful. What kind of interface (input params) to the process would be
> most useful?
>
> On Tue, Jun 5, 2012 at 8:04 PM, Jason Pickering
> <jason.p.pickering@xxxxxxxxx> wrote:
> > Hmm. Sounds messy as there are a number of other scheduled jobs which I
> > normally run after the data mart. Another possibility would be be to
> trigger
> > this though the WebAPI.
> >
> > Would this be possible with a custom version and if so could you point
> me to
> > what I need to modify?
> >
> > --
> > Sent from my mobile
> >
> > On Jun 5, 2012 7:48 PM, "Lars Helge Øverland" <larshelge@xxxxxxxxx>
> wrote:
> >>
> >> Hi Jason,
> >>
> >> sorry there is no proper way of doing this through the system at the
> >> moment. I think we can include this functionality. As a work-around
> >> you can set the server clock a few hours forward, start/stop
> >> scheduling on your second server, then set the server clock back.
> >>
> >> Lars
> >>
> >>
> >> On Tue, Jun 5, 2012 at 5:54 PM, Jason Pickering
> >> <jason.p.pickering@xxxxxxxxx> wrote:
> >> > Hi there Devs.
> >> >
> >> > I have two separate instances of DHIS2 (version 2.8) on the same
> >> > server. I would like to be able to control the times at which the data
> >> > mart executes, so that the processes are not competing for resources.
> >> > Is there anyway to do this, short of a recompile?
> >> >
> >> > Best regards,
> >> > Jason
> >> >
> >> > _______________________________________________
> >> > Mailing list: https://launchpad.net/~dhis2-devs
> >> > Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> >> > Unsubscribe : https://launchpad.net/~dhis2-devs
> >> > More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References