stopping a job

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

stopping a job

popianovka
hi

as the documentation says -

To stop a currently executing job use -

[b]interrupt(java.lang.String jobName, java.lang.String groupName)
           Request the interruption of all currently executing instances of the identified Job, which must be an implementor of the InterruptableJob interface.[/b]


and To remove the future schedules, and let the current execution complete -

[b]unscheduleJob(java.lang.String triggerName, java.lang.String groupName)
           Remove the indicated Trigger from the scheduler.[/b]

cheers,
Navin

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=9495&messageID=20740#20740


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]