I have a requirement to monitor a folder for new files. Just looking for a
suggestion on which approach you would take on design.
1. Using windows services to write a .NET service that automatically looks
for new files every x mins via a timer, etc.
2. Using task scheduled to write a .NET exe that is scheduled to run at a
set interval.
This app will monitor a directory for new files and when found insert them
into a DB then delete them from the directory. I think either approach will
accomplish the task, just looking for opinions and/or other suggestions to
approach this simple task.
Thanks
suggestion on which approach you would take on design.
1. Using windows services to write a .NET service that automatically looks
for new files every x mins via a timer, etc.
2. Using task scheduled to write a .NET exe that is scheduled to run at a
set interval.
This app will monitor a directory for new files and when found insert them
into a DB then delete them from the directory. I think either approach will
accomplish the task, just looking for opinions and/or other suggestions to
approach this simple task.
Thanks
Comment