Re: scheduling a service

Nathan Kontny <Nathan.Kontny-UgwZ4owrJFB8UrSeD/[email protected]> Fri, 28 May 2004 16:03:48 -0700
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
I could use some examples and help too, please.  I am mighty confused on how to
use this service.  The documentation talks about using a SimpleScheduler class,
is that around in Keel 2.1?  Also, as for Lou's question on how to set it up on
startup, I am thinking something in sysetm.xconf would be the place to set it
up, but I can find any example of doing that...

-Nate



Quoting Louis Moore <[email protected]>:

> I've got a service that loads a bunch of data on startup, and I want it
> to reload the data every so often. So I implemented the Schedulable
> interface, and I want to use the Quartz Scheduler service to execute the
> reload. All the examples I've found use a ModelRequest to set the
> scheduling parameters...is there any way to set up the scheduled job
> within my service when it starts up (my service also implements
> initializable, so I'd like to schedule the job inside the initialize
> function)?
>  
> Thanks,
> Lou
> _______________________________________________
> User mailing list
> [email protected]
> http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
>