I want to use quartz in an web application. So I init quartz with the org.quartz.ee.servlet.QuartzInitializerServlet. After this my servlet is started, which creates a job and schedule it with a crontrigger. The job should start every minute. This works fine. So my Job creates some jobs every time, which starts directly.
My problem is now, that I want to reconfigure the first job to run on different times (maybe every minute, maybe every two minutes, then every minute again). I try to reschedule the job with a changed trigger. At the moment I use a Listener for the trigger to reschedule after complete of the trigger. This seems not to work, because the listener is called after the reschedule, so this can result in a not wanted loop.