on 11/2/2000 11:05 AM, "John Thorhauer" <[EMAIL PROTECTED]> wrote:

> As soon as Rafal checks in security service code, I will check in my change to
> the scheduler and related code which will allow for the scheduler to run every
> x number of seconds.

+1

> I would like to also make another change to the scheduler as follows:
> 
> I want the scheduler to only run a job if it is not already running.  So that
> if job A is scheduled to run every 10 seconds and the sceduler begins job A
> and
> it actually takes 15 seconds to run, the scheduler will not run job A again
> until it has completed its first cycle.
> 
> I would do this by adding a boolean to the JobEntry that indicates if the job
> is currently active or not.  I would then add something like this to the
> WorkerThread class:

+1

-jon

-- 
http://scarab.tigris.org/    | http://noodle.tigris.org/
http://java.apache.org/      | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/       | http://www.sourcexchange.com/




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to