cancel
Showing results for 
Search instead for 
Did you mean: 

Persistent Scheduler

Ahmad_Ben_Maall
Star Contributor
Star Contributor

Hi, I succeeded to add a scheduler using org.nuxeo.ecm.core.scheduler.SchedulerService but the added configuration are lost after nuxeo restarting. So i need to know how to dynamically configure the scheduler service and persist that configuration ? Thanks.

5 REPLIES 5

Florent_Guillau
World-Class Innovator
World-Class Innovator

In Nuxeo schedulers are defined by XML configuration, so what you're asking for is not possible without code changes.

First of all, I want to thank you for your quick response.

"Not possible without code changes" means that to implement this feature in the Nuxeo platform, you would have to write Java code (and non-trivial low-level code at that).

OK thanks for the clarification. So if I understand correctly I have to see how to write a low-level code.

Ahmad_Ben_Maall
Star Contributor
Star Contributor

Hi, finally I made the following tip:

  • Create a scheduler with the class SchedulerServiceImpl.java (this scheduler will be active when it is created and will be lost if NUXEO_SERVER restarts)
  • Save the scheduler in an xml file (extension point) in "nxserver/config" (this scheduler will be active the next time you start NUXEO_SERVER).
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.