I want to create one scheduler instance then adding Jobs and triggers for future use to this scheduler running by web UI without restarting server (I use Quartz 2.x version) Can anybody help me please?
Thanks
I want to create one scheduler instance then adding Jobs and triggers for future use to this scheduler running by web UI without restarting server (I use Quartz 2.x version) Can anybody help me please?
Thanks
You can dynamically add jobs to a Quartz scheduler instance but the jobs (i.e. the job classes) must be typically present on the Quartz scheduler's classpath. Alternatively you could use the Quartz scheduler's JobFactory API to load job classes through a custom class-loader and that would allow you to add jobs truly dynamically.
With triggers, there is no problem at all - these can be added/updated/deleted dynamically using the standard Quartz API.
As for a GUI that allows you to add jobs/triggers, there are couple of them and you can easily find them by searching for "quartz scheduler gui" on Google.
I happen to be a principal developer of QuartzDesk, which is one of those products. If you have any questions regarding this product, then please use our contacts.
thank you for your answer, I rephrase my question,
I want to create ONE SCHEDULER instance and add FIVE JOBS with PARAMETRES. Then i want to dynamically add TRIGGERS to this jobs for future use by web UI without restarting server. And with each trigger, I want to send parameters to the JOB to perform a specific processing
Exemple:
public class SendSMS implements Job {
}
public class CronTriggers {
Thanks