Hi
I'm wondering, how can I modify (or add) scheduled events to my quartz jobs given that they are configured by the XYZ-spring-servlet.xml file.
In general I would just modify the XML File that hosts the configurations and then reload the webapp so it reads the changes and applies them.
But manual modifications are so passe, I'd like to wrap a UI on top of this.
Question: Is there any way I can changes parameters programmatically so they are available on the next iteration of the job WITHOUT a reload of the app?
Again I'm thinking that I could:
1. Modify the xml file programmatically (so the changes will persist a system restart).
2. do a "getBean()" on the job / timer I want to modify and set some properties that represent the new scheduler settings.
3. Sit back and watch the system run with the given new properties.
I'm sure it's not THAT simple... but I have been proven wrong before on this forum.
Thanks.



Reply With Quote
