I wrote a program that can monitor the folders and let me know changes in those folders.
But this should run whole the day until the system is ON. This should run as a task in background(like batch process).
I am using Java WatchService for monitoring the folders.
I need some suggestions,
- How can make this as a service that run in background as a batch process?
- If i make this as service, will this effect the performance of the system? as there will be files added for every 5mins atleast in the folders.
Please suggest your ideas.
Thanks