Re: Stopping/Removing a job from PeriodicExecutor
Hi Chris, PeriodicExecutor returns a PeriodicJob which you can cancel if you hang onto the return value. See: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/cron/PeriodicJob.html mrg On Wed, May 22, 2013 at 1:21 PM, Chris Cureau wrote: > Hi there! > > I currently have a project that is using a PeriodicExecutor to kick off > processes on a regular basis. I need to expand on that so that I can stop > a running job, reschedule the times, and remove the job completely from the > PeriodicExecutor. Don't see any sort of code out there to do this. > > Any suggestions? Am I going to have to use Quartz? >
Re: Stopping/Removing a job from PeriodicExecutor
Or you can use JEE scheduling API. On May 22, 2013, at 1:21 PM, Chris Cureau wrote: > Hi there! > > I currently have a project that is using a PeriodicExecutor to kick off > processes on a regular basis. I need to expand on that so that I can stop > a running job, reschedule the times, and remove the job completely from the > PeriodicExecutor. Don't see any sort of code out there to do this. > > Any suggestions? Am I going to have to use Quartz? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org