*
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
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?
 
Similar Threads
precise date and time
Cyclic method execution
quartz
Scheduler Task in Java
Quartz Scheduler