Hi all.
I am investigating about the possibility of defining scheduled actions but all the examples focus this capability only throughout the org.alfresco.repo.action.scheduled.SimpleTemplateActionDefinition bean.
My question is: suppose I have a custom Java bean already injected into Alfresco at bootstrap, I would like to call a specific method in a scheduled way. Is it possible?
If not, is it possibile to call in a scheduled way a Java bean class constructor? In other words, I want a Java class called Cleaner.java could be instantiated, executed (the code inside its constructor) and destroyed in a scheduled way. Is it possible?
Many thanks to all.
All the best,
Sergio