[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Explicit control on a Single Job in the group on a JVM  XML
Forum Index -> Quartz
Author Message
dinakar1

neo

Joined: 06/28/2012 20:02:35
Messages: 1
Offline

If running a Standalone Java application with a lot of jobs running. Is it possible for me that i can trigger one of the Jobs manually or complete kill all threads for that Job and change the schedules and restart it with out affecting the others ?

Ex:
We have a number of Jobs that fetch news from different providers. Say I make a Job for each Provider. If one of my provider is supposed to run at 5 am everyday say and for some reason could not fetch the news for any reason, I would want to manually rerun that Job alone instead of changing the schedules for that Job and restarting the application.

klalithr

consul

Joined: 01/23/2011 10:58:07
Messages: 466
Offline

Have you considered using an InterruptableJob?

http://quartz-scheduler.org/api/2.0.0/org/quartz/InterruptableJob.html

Karthik Lalithraj (Terracotta)
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team