Actually with Karaf 3, there is a scheduler service available. To use it you need to register a service with the Runnable Interface and two properties:
org.apache.karaf.scheduler.task.id org.apache.karaf.scheduler.task.period It's a simple scheduler, and somewhere in the past it has been decided not to document it till there is a real use-case for a Karaf embedded scheduler. Seems like you got one ;) So here you go :) regards, Achim 2014-08-14 22:37 GMT+02:00 Kevin Carr <[email protected]>: > I have a scheduler that I created that I am putting on github. I will see > about doing that tonight. I am us central timezone > On Aug 14, 2014 3:36 PM, "Tim Jones" <[email protected]> wrote: > >> I am not aware of any Karaf specific offerings or anything specific about >> scheduling jobs in the OSGI specs. >> >> I don't know what is the 'suggested way' but we use Quartz (v 2.1.6) to >> schedule jobs in our Felix/Karaf application (FYI - the Apache Sling >> project which is OSGI based also uses Quartz). There are a few other >> scheduler offerings that would probably work just as well. >> >> >> >> -- >> View this message in context: >> http://karaf.922171.n3.nabble.com/Scheduler-status-tp4034750p4034778.html >> Sent from the Karaf - User mailing list archive at Nabble.com. >> > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Software Architect / Project Manager / Scrum Master
