nisha louis

nisha louis

  • NA
  • 3
  • 759

I am currently using .net script to read files

Jun 22 2016 10:34 PM
I am currently using vb.net script to transfer files from one folder to another and also perform some business logic and db updates in this script.
This script is scheduled to execute using task scheduler and scheduled for every 30 minutes.
There are potential issues i am facing with this script as at times the script takes more time to execute and i would need to kill the process if more than one instance of the script is active.
At times even if there are no files the script will be executed. 
 
So i was reading on windows file system watcher to create a windows service to remain active and keep watching the folder. 
 
Any feedback on this? 

Answers (3)