I'm getting an intermittent problem with the WMI Event watcher task. I've set it up to watch for a file being modified and not set any timeout on it. If the file is modified within a few minutes of the package being started, it picks up the modification and reports success. If, however, the task has been watching for some time when the file is modified, nothing happens - the task appears to just keep watching. The WQL source is:
select * from __InstanceModificationEvent within 10 where TargetInstance ISA "CIM_DataFile" and TargetInstance.Name = "Filename"
I've tried also setting a timeout and asking it to watch again after the timeout has expired, but still no luck
↧