| Author |
Firing Quartz Job
|
Kerry Wilson
Ranch Hand
Joined: Oct 29, 2003
Posts: 251
|
|
I would like to fire a quartz job outside of the trigger, I have my job setup like in the documentation, ie: I would like to grab the documentNotificationJob ( which is easy enough ) but I could not find a run method or anything on the JobDetail or Trigger classes. How can I accomplish this?
|
http://www.goodercode.com
SCJP 1.4
|
 |
Kerry Wilson
Ranch Hand
Joined: Oct 29, 2003
Posts: 251
|
|
|
sorry, forgot to mention this is quartz in a spring context.
|
 |
Hongli Li
Ranch Hand
Joined: Oct 29, 2006
Posts: 124
|
|
|
dose your DocumentNotificationJob extends QuartzJobBean Class,inside which has a method called executeInternal(JobExecutionContenxt context) method, that's where you should add you logic to.
|
Do you know why this cup is useful? Because it is empty.
|
 |
Kerry Wilson
Ranch Hand
Joined: Oct 29, 2003
Posts: 251
|
|
ok, just FYI I did this by setting the group and name in my JobDetailBean, then executed this:
|
 |
 |
|
|
subject: Firing Quartz Job
|
|
|