This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Other Open Source Projects and the fly likes How to add job for running Quartz scheduler instance? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to add job for running Quartz scheduler instance?" Watch "How to add job for running Quartz scheduler instance?" New topic
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: 3274
    
    5

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add job for running Quartz scheduler instance?