| Service for a cron like scheduler that uses the
TurbineResources.properties file instead of the database.
The methods that operate on jobs ( get,add,update,remove )
only operate on the queue in memory and changes are not reflected
to the properties file which was used to initilize the jobs.
An example is given below. The job names are the class names that
extend ScheduledJob.
services.SchedulerService.scheduler.jobs=scheduledJobName,scheduledJobName2
services.SchedulerService.scheduler.job.scheduledJobName.ID=1
services.SchedulerService.scheduler.job.scheduledJobName.SECOND=-1
services.SchedulerService.scheduler.job.scheduledJobName.MINUTE=-1
services.SchedulerService.scheduler.job.scheduledJobName.HOUR=7
services.SchedulerService.scheduler.job.scheduledJobName.WEEKDAY=-1
services.SchedulerService.scheduler.job.scheduledJobName.DAY_OF_MONTH=-1
services.SchedulerService.scheduler.job.scheduledJobName2.ID=1
services.SchedulerService.scheduler.job.scheduledJobName2.SECOND=-1
services.SchedulerService.scheduler.job.scheduledJobName2.MINUTE=-1
services.SchedulerService.scheduler.job.scheduledJobName2.HOUR=7
services.SchedulerService.scheduler.job.scheduledJobName2.WEEKDAY=-1
services.SchedulerService.scheduler.job.scheduledJobName2.DAY_OF_MONTH=-1
Based on TamboraSchedulerService written by John Thorhauer.
author: Jeff Brekke author: John Thorhauer author: Quinton McCombs version: $Id: TurbineNonPersistentSchedulerService.java 534527 2007-05-02 16:10:59Z tv $ |