I have a web application that using Struts + Spring + Hibernate. In this application I am getting data from a remote server in XML format, and write it to the database, when someone accesses the site, because of StrutsActions. Now I want to implement Quartz library, for writing to database does not depend on users, but I have no idea how to call an Action from Quartz.
Thanks and sorry for my english.
You need to adjust the cronExpression to your requirement.
Then create your class with execute method in it.
To adjust the cronExpression http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson06.html