问题描述:

I have a task in which, I have monitor a folder for new files and upload its content to database. For this, I have written a Java Program, created an executable JAR and scheduled it for execution after fix interval i.e after 5 min. using Windows Task Scheduler on Windows 7.

I have to ask about reliability of this approach. How reliable is Task Scheduler? Is there any better approach like creating a windows service ,etc by which I can schedule my Program/ JAR.

Any suggestions would be appreciated.

Thanks!

Best Regards,

Kunal

网友答案:

Take a look on Quartz

Quartz Scheduler is a Java-based open-source job scheduling service which is used in most of the applications to schedule their timely jobs.

相关阅读:
Top