| Author |
How to add job for running Quartz scheduler instance?
|
Manoj Maniraj
Ranch Hand
Joined: Mar 25, 2009
Posts: 38
|
|
Hi guys,
I want to add a job to the running quartz scheduler instance. I know the instance name, with that i need to get the scheduler and add the job to it. Can anybody help me on this?
thanks..
|
http://manojmaniraj.blogspot.com
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
I assume this is programatically?
What code have you tried so far?
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
Manoj Maniraj
Ranch Hand
Joined: Mar 25, 2009
Posts: 38
|
|
Hi Martijn,
Thanks for your reply..
I got it working. Following is the code I used
Scheduler scheduler = new StdSchedulerFactory().getScheduler("InfoSmartScheduler");
scheduler.addJob(jobDetail, replace);
scheduler.scheduleJob(trigger);
Cheers,
Manoj
|
 |
 |
|
|
subject: How to add job for running Quartz scheduler instance?
|
|
|