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,
Please suggest your ideas.
Thanks
You can and it should not effect your system performance when your system have enough resource.
Steps to do that in java
FolderMonitor
to monitor a particular folder.
File("C:\folder1")
Map
map key can be a foderName+fileName and value is modified time.ScheduledExecutorService
with required intervalFolderMonitor
class into a jar.Make it service
apache's procrun
or tanukisoftware
service wrapper for creating a service from java executable jar
Hope you can do it. All the best