Running a daemon like service
Hello trying to run a daemon like service on AEM. What is the best practice for this?
Use case is need to run a service that constantly watches a folder outside of AEM and pulls in content whenever it's uploaded to it.
Better to trigger this as an servlet or and OSGi service? Or can I implement this like a daemon somehow?
Thanks!!!