[Yanel-dev] First Scheduler implementation finished

Michael Wechner michael.wechner at wyona.com
Sat Jan 16 20:23:58 CET 2010


Bruno von Rotz wrote:
> Cool!
> And, somewhere we would also have to define the "jobs" that can be 
> scheduled. But that's what you were picturing as the GUI anyway.

my currenty suggestion would be to introduce an interface called

SchedudableV1

containing an execute() method, which can be implemented by a resource.

This would allow us to introduce a scheduler resource generating a GUI 
which then can check for this interface, etc.

Cheers

Michi
> Bruno
>
> Michael Wechner schrieb:
>> Hi
>>
>> I have finished a first scheduler implementation which is based on 
>> the quartz scheduler. The goal is to make
>> it independent of the actual scheduler implementation, but to gain 
>> some experience I think it's alright for the moment.
>>
>> There is no GUI yet, but one can schedule jobs for each realm, e.g.
>>
>> src/realms/from-scratch-realm-template/data-repo/data/scheduler-jobs.xml
>>
>> which means these config files are being read during startup.
>>
>> So far it seems to work very fine. The next step would be to 
>> introduce interfaces to hide
>> the implementations details.
>>
>> Then we should think about a GUI such that people can schedule jobs 
>> like for example schedule the publishing
>> of an article and also about persistance of these jobs, which  means 
>> in case the Webapp-server should crash or shutdown
>> for maintenance.
>>
>> Cheers
>>
>> Michi
>
>



More information about the Yanel-development mailing list