Re: Canceling Periodic Job

2016-06-17 Thread abangkis
Hi Barry and Dmitry, thanks for the link. I'll look in to it. On Fri, Jun 17, 2016 at 7:11 PM, Dmitry Gusev wrote: > We use quartz for background jobs: > > > https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz > > There you have fine control on both scheduled and

Re: Canceling Periodic Job

2016-06-17 Thread Dmitry Gusev
We use quartz for background jobs: https://github.com/anjlab/anjlab-tapestry-commons/tree/master/anjlab-tapestry-quartz There you have fine control on both scheduled and currently executing jobs, i.e. scheduler.getCurrenlyExecutingJobs() and then scheduler.interrupt(jobKey) On Fri, Jun 17, 2016

Re: Canceling Periodic Job

2016-06-17 Thread Barry Books
see https://github.com/trsvax/Jacquard/blob/master/src/main/java/com/trsvax/jacquard/services/JobRunnerTapestry.java https://github.com/trsvax/Jacquard/blob/master/src/main/java/com/trsvax/jacquard/pages/job/JobIndex.java Jobs are started in the JobRunnerTapestry service and the set of jobs is m

Canceling Periodic Job

2016-06-17 Thread abangkis
Hai, I'm creating a periodic job on startup from this link. http://blog.tapestry5.de/index.php/2011/09/18/scheduling-jobs-with-tapestry/ So i wonder how can i stop the job using a button? Since the periodic job is created on startup so the returned PeriodicJob is inaccessible from a page? -- ht