WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
WatchService not picking up all files (Read 1092 times)
hutia
YaBB Newbies
*
Offline



Posts: 1
WatchService not picking up all files
Nov 17th, 2014 at 11:32am
 
Hello,

I'm looking into errors in my application, and I can't figure out why can it be that the file watch is not picking up all new files? I've checked the file types and where the files are coming from, and there is no difference between theses files and the files which are picked up by the service.  Is it possible that the actual code in watch dir class file has an error?
If not, what are some other common causes of file watch not picking up all files?

Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: WatchService not picking up all files
Reply #1 - Nov 17th, 2014 at 1:19pm
 
Hello Hutia,

It is unlikely WD is not seeing file changes...

What most likely *is* happening is that WD sees the new file and starting the task but the task can not handle it yet. For example the file is still in the process of being created (and therefor locked).

For that scenario, look at the settings of the "other" window: http://www.watchdirectory.net/wdhelp/help/wdnewconfigpage6.html

Make sure you set "delay starting task" high enough (the default of a few seconds is fine most of the time). Also the "wait for files to be available" setting.

If the above does not help, enable "debug" and run the task until it misses an event again. Then stop the task and email (!!) me a backup. Full details are described here: http://blog-en.gdpsoftware.com/2010/06/send-task-backup-to-support.html
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1