api for scheduling generation of resource tables

Hi ,

We want to schedule the resource table generation for every 15 mins. For now , we are manually doing this through data Administration > scheduling.
Though this is a one time setup , we would like to achieve this while running scripts to setup DHIS.

Is there a web api using which we can achieve this ?

···

Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

Hi Sandesh,

not currently, but is should be trivial to implement. The service to expose is:

DefaultSchedulingManager / SchedulingManager (scheduleTasks(Map))

Have a look in ScheduleTasksAction for example usage.

Let me know if you would like to take this on.

regards,

Lars

···

On Wed, Feb 18, 2015 at 10:01 AM, Sandesh Sukumar Doolipeta sandeshd@thoughtworks.com wrote:

Hi ,


Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

We want to schedule the resource table generation for every 15 mins. For now , we are manually doing this through data Administration > scheduling.
Though this is a one time setup , we would like to achieve this while running scripts to setup DHIS.

Is there a web api using which we can achieve this ?

Hi Lars ,

Yes , i will take this up and submit a patch soon.

···

On Wed, Feb 18, 2015 at 2:52 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Sandesh,

not currently, but is should be trivial to implement. The service to expose is:

DefaultSchedulingManager / SchedulingManager (scheduleTasks(Map))

Have a look in ScheduleTasksAction for example usage.

Let me know if you would like to take this on.

regards,

Lars

On Wed, Feb 18, 2015 at 10:01 AM, Sandesh Sukumar Doolipeta sandeshd@thoughtworks.com wrote:

Hi ,


Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

We want to schedule the resource table generation for every 15 mins. For now , we are manually doing this through data Administration > scheduling.
Though this is a one time setup , we would like to achieve this while running scripts to setup DHIS.

Is there a web api using which we can achieve this ?

Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

Great, thanks.

···

On Wed, Feb 18, 2015 at 11:31 AM, Sandesh Sukumar Doolipeta sandeshd@thoughtworks.com wrote:

Hi Lars ,

Yes , i will take this up and submit a patch soon.

On Wed, Feb 18, 2015 at 2:52 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Sandesh,

not currently, but is should be trivial to implement. The service to expose is:

DefaultSchedulingManager / SchedulingManager (scheduleTasks(Map))

Have a look in ScheduleTasksAction for example usage.

Let me know if you would like to take this on.

regards,

Lars


Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

On Wed, Feb 18, 2015 at 10:01 AM, Sandesh Sukumar Doolipeta sandeshd@thoughtworks.com wrote:

Hi ,


Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

We want to schedule the resource table generation for every 15 mins. For now , we are manually doing this through data Administration > scheduling.
Though this is a one time setup , we would like to achieve this while running scripts to setup DHIS.

Is there a web api using which we can achieve this ?

Hi Lars ,

From the UI , i.e data Administration > scheduling it is ensured that all the tasks are stopped, before changing a parameter in the scheduler(say , from every day to every 15 mins once).

Is it ok to change the paramaters without stopping the tasks? will this break anything ?

···

On Wed, Feb 18, 2015 at 4:02 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Great, thanks.

On Wed, Feb 18, 2015 at 11:31 AM, Sandesh Sukumar Doolipeta sandeshd@thoughtworks.com wrote:

Hi Lars ,

Yes , i will take this up and submit a patch soon.

On Wed, Feb 18, 2015 at 2:52 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Sandesh,

not currently, but is should be trivial to implement. The service to expose is:

DefaultSchedulingManager / SchedulingManager (scheduleTasks(Map))

Have a look in ScheduleTasksAction for example usage.

Let me know if you would like to take this on.

regards,

Lars


Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

On Wed, Feb 18, 2015 at 10:01 AM, Sandesh Sukumar Doolipeta sandeshd@thoughtworks.com wrote:

Hi ,


Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

We want to schedule the resource table generation for every 15 mins. For now , we are manually doing this through data Administration > scheduling.
Though this is a one time setup , we would like to achieve this while running scripts to setup DHIS.

Is there a web api using which we can achieve this ?

Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

Yes you need to stop first. It will remove current tasks. If you try to start a task that is already active it will be ignored. So just call stopTasks first.

Lars

···

On Wed, Feb 18, 2015 at 11:44 AM, Sandesh Sukumar Doolipeta sandeshd@thoughtworks.com wrote:

Hi Lars ,

From the UI , i.e data Administration > scheduling it is ensured that all the tasks are stopped, before changing a parameter in the scheduler(say , from every day to every 15 mins once).

Is it ok to change the paramaters without stopping the tasks? will this break anything ?

On Wed, Feb 18, 2015 at 4:02 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Great, thanks.


Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

On Wed, Feb 18, 2015 at 11:31 AM, Sandesh Sukumar Doolipeta sandeshd@thoughtworks.com wrote:

Hi Lars ,

Yes , i will take this up and submit a patch soon.

On Wed, Feb 18, 2015 at 2:52 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi Sandesh,

not currently, but is should be trivial to implement. The service to expose is:

DefaultSchedulingManager / SchedulingManager (scheduleTasks(Map))

Have a look in ScheduleTasksAction for example usage.

Let me know if you would like to take this on.

regards,

Lars


Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

On Wed, Feb 18, 2015 at 10:01 AM, Sandesh Sukumar Doolipeta sandeshd@thoughtworks.com wrote:

Hi ,


Sandesh DoolipetaApplication Developer
Email
sandeshd@thoughtworks.com

Telephone
9686062727

We want to schedule the resource table generation for every 15 mins. For now , we are manually doing this through data Administration > scheduling.
Though this is a one time setup , we would like to achieve this while running scripts to setup DHIS.

Is there a web api using which we can achieve this ?