Task Scheduler to run in Apache Felix?

I want to implement a task scheduler to run on Apache Felix. The idea is that the task scheduler will read the crontab file and periodically execute the task (the task is determined by the installed services or packages). What is the best way to do this? I am new to OSGI and good suggestions are welcome.

+3
source share
1 answer

Well, this is not an OSGi question (OSGi does not cover event planning like crontab), I would say that using a third-party open source scheduler such as Quartz:

http://quartz-scheduler.org/

However, this is not an OSGi kit out of the box, so it may still take some effort to get it working.

: Apache Sling, , ( Quartz), Sling OSGi, .

http://sling.apache.org/documentation/bundles/scheduler-service-commons-scheduler.html

, ,

+5

All Articles