keep watching a folder with WMI Event Watcher Task
i'm using a "WMI Event Watcher Task" to watch a folder and proceed to the next task if a file was pasted there.
the problem is that as soon as somebody past a file in that folder the ssis package completed all the task and wan't watch the folder again ... the question is how can i make it watch the folder always until i manually stop it or an expiry date
reached ?
November 10th, 2011 10:26pm
Here is an example:
http://microsoft-ssis.blogspot.com/2010/12/continuously-watching-files-with-wmi.html and
http://microsoft-ssis.blogspot.com/2010/12/continuously-watching-files-with-wmi_25.html
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
November 10th, 2011 10:37pm
you can set the AfterEvent to "Watch for the event again" in the WMI Event Watcher Editorhttp://www.rad.pasfu.com
November 10th, 2011 10:37pm
Reza,
thanks, but what else after i set it to "watch for the event again" ?
if I just set it to "watch for the event again" then run it, the "WMI Event Watcher Task" task stuck in yellow,
and the following task is not reached (if i set it back to "Return with success" everything work fine but just for one time).
is there any more configuration ?
thanks again
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2011 3:00pm
ok , the following is a link to the full steps:
http://sqlserverdiary.blogspot.com/2011/11/continuously-watch-files-with-wmi-event.html
November 13th, 2011 6:11am