I need to run a job in a scheduled manner, on tomcat server deployed on my local machine having windows OS .
Asked
Active
Viewed 2,129 times
0
-
Check this http://stackoverflow.com/questions/390307/windows-service-vs-scheduled-task could help – Alfabravo Dec 23 '11 at 14:20
2 Answers
2
if you don't want to use the underlying system's scheduler and prefer to go full java, some librairies offer cron-like scheduling capabilities, for instance Quartz.

Simon Baslé
- 27,105
- 5
- 69
- 70
1
I do not know about tomcat, but on Windows the way you schedule jobs is using the "at" command at the command prompt.
There is also another way, if you go to Start/Programs/Accessories/System Tools/Scheduled Tasks. (May vary depending on which version of Windows you have.)

Mike Nakis
- 56,297
- 11
- 110
- 142