scheduling a service
"Louis Moore" <[email protected]> Fri, 28 May 2004 12:38:46 -0700
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <C5E6D04B7C014946B7CCBFC2AF30DB62C096A5@corpmail01.corp.walmart.com> |
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