I suppose we could do this with CURL fairly easily?
Here is the request I think
GET
/dhis/dhis-web-reporting/startExport.action?startDate=2011-01-01endDate=2012-06-11periodType=WeeklyperiodType=MonthlyperiodType=Yearly
HTTP/1.1 200
Any thoughts?
Regards,
Jason
On Sun, Jun 10, 2012 at 11:28
2) The ability to trigger the datamart through a call to the WebAPI.
You seem to hint that this is possible, but I am not sure how to do
it. If it is, then it solves my problem, as I can use use a simple
script to start Server 1 at a certain time and Server 2 at another
time. There may be
On 10 June 2012 21:38, Morten Olav Hansen morte...@gmail.com wrote:
2) The ability to trigger the datamart through a call to the WebAPI.
You seem to hint that this is possible, but I am not sure how to do
it. If it is, then it solves my problem, as I can use use a simple
script to start Server
Okay. Problem is the scheduling implementation does not support custom
time setups / cron expressiosn well.. so it will be a bit of work.
Feel free to write a blueprint.
On Tue, Jun 5, 2012 at 8:47 PM, Jason Pickering
jason.p.picker...@gmail.com wrote:
Just thinking aloud, but since the
It may be too obvious to point this out, but if this is manually
triggerable from the outside, the cron/time management part could be
in an external script which makes use of the WebAPI.
Since you are already running several other services on the server in
conjunction with the datamart
(just got Knut's email, sending anyway...)
For a shorter term solution, wouldn't it be possible to trigger the manual
datamart job with two dates (and possibly a list of period types) through
the web-api?
Time setup/cron jobs would be handled outside DHIS in this case.
Ola
-
I guess there are two separate issues here really.
1) Some sort of UI to enable the scheduled process to be adjusted. The
specific use case here (possibly common) is that we have two instances
on a single server. It would be better to try and schedule these jobs
at different times, so that they
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
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,
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
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.picker...@gmail.com wrote:
Hmm. Sounds messy as there are a number of other scheduled jobs
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
12 matches
Mail list logo