How can I schedule my java program to run every 1 min on servlet?
I got a java program running on Tomcat servlet. This program is used for checking the email, if found, open the attachment and then upload to our database. i want to run this program every minutest. I dont know how to do?
Are there any scheduler tool on servlet?
How can we schedule the job running on Tomcat servle?
Anyone who have an idea please let me know. Many thanks in advance