You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Alexander Banthien <al...@questech.de> on 2002/08/29 18:43:00 UTC
Scheduler conf
Hi Akmal,
since you appear to be a scheduler guy :-)
I want to use TurbineNonPersistentScheduler. I have configured it and it
seems to start up, i have coded the necessary class
(modules.scheduledjobs.ProcessEcardQueue.java).
tried with Fulcrum and with the old builtin SchedulerService.
TR.props
-------------------------------------------------------------
scheduler.job.ProcessEcardQueue.ID = 100
scheduler.job.ProcessEcardQueue.SECOND = 59
scheduler.job.ProcessEcardQueue.MINUTE = -1
scheduler.job.ProcessEcardQueue.HOUR = -1
scheduler.job.ProcessEcardQueue.WEEKDAY = -1
scheduler.job.ProcessEcardQueue.DAY_OF_MONTH = -1
-------------------------------------------------------------
which used to give me a run of my Job every 59 seconds.
but it doesn't seem to run. I was using the same setup in Turbine 2.1
now i have Turbine 2.2 b3. Have there been changes in the config?
Thanks for any reply,
Alex
_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten
Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de
_______________________________________
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Scheduler conf
Posted by George Clernon <ge...@analog.com>.
My scheduled jobs work fine without the -1 entries. I think there may
have been an issue at one time with -1 entries in TR.p. Anyhow, I
guess it works in either case.
-G.
On Friday 30 August 2002 11:41, Scott Eade wrote:
> > From: George Clernon <ge...@analog.com>
> >
> > You might also want to comment out the "-1" entries.
>
> Not so. The -1 entries are significant - they mean that the time
> component on that line is not relevant (so as desired the provided
> example would execute every 59 seconds).
>
> Scott
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Scheduler conf
Posted by Scott Eade <se...@backstagetech.com.au>.
> From: George Clernon <ge...@analog.com>
>
> You might also want to comment out the "-1" entries.
Not so. The -1 entries are significant - they mean that the time component
on that line is not relevant (so as desired the provided example would
execute every 59 seconds).
Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Scheduler conf
Posted by George Clernon <ge...@analog.com>.
You might also want to comment out the "-1" entries.
-George.
On Thursday 29 August 2002 22:06, you wrote:
> > From: Alexander Banthien <al...@questech.de>
> >
> > TR.props
> > -------------------------------------------------------------
> > scheduler.job.ProcessEcardQueue.ID = 100
> > scheduler.job.ProcessEcardQueue.SECOND = 59
> > scheduler.job.ProcessEcardQueue.MINUTE = -1
> > scheduler.job.ProcessEcardQueue.HOUR = -1
> > scheduler.job.ProcessEcardQueue.WEEKDAY = -1
> > scheduler.job.ProcessEcardQueue.DAY_OF_MONTH = -1
> > -------------------------------------------------------------
> > which used to give me a run of my Job every 59 seconds.
> >
> >
> > but it doesn't seem to run. I was using the same setup in Turbine
> > 2.1 now i have Turbine 2.2 b3. Have there been changes in the
> > config?
>
> Try also adding:
>
> # comma separated list of jobs.
> Scheduler.jobs=ProcessEcardQueue
>
> HTH,
>
> Scott
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Scheduler conf
Posted by Scott Eade <se...@backstagetech.com.au>.
> From: Alexander Banthien <al...@questech.de>
>
> TR.props
> -------------------------------------------------------------
> scheduler.job.ProcessEcardQueue.ID = 100
> scheduler.job.ProcessEcardQueue.SECOND = 59
> scheduler.job.ProcessEcardQueue.MINUTE = -1
> scheduler.job.ProcessEcardQueue.HOUR = -1
> scheduler.job.ProcessEcardQueue.WEEKDAY = -1
> scheduler.job.ProcessEcardQueue.DAY_OF_MONTH = -1
> -------------------------------------------------------------
> which used to give me a run of my Job every 59 seconds.
>
>
> but it doesn't seem to run. I was using the same setup in Turbine 2.1
> now i have Turbine 2.2 b3. Have there been changes in the config?
Try also adding:
# comma separated list of jobs.
Scheduler.jobs=ProcessEcardQueue
HTH,
Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>