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
File Age Method - Triggers on New Files (Read 2564 times)
burnsr70
YaBB Newbies
*
Offline



Posts: 3
File Age Method - Triggers on New Files
Jul 29th, 2013 at 12:50pm
 
I am using Watch Directory 4.6.7 and have set up a job to monitor a folder (on the C drive) for old files.  There is another application which should take files in this folder and process them, so if a file is left in there for to long, then this job lets me know by email.  The job runs as a service under a domain admin account.

The job is set to run every 10 minutes and does so according to the debug history.  However as well as the events from this, there are extra events at other times in the debug history which trigger the email - even though there are no old files present.

The "extra" events are

Calling plugins timerFnc - origin realRunner.cpp
Plugins timerFunc requests to be called again after 3600 seconds - origin realRunner.cpp
checking... - origin Threadworker.cpp
Found 4 files inside the directory C:\FTP\BatchPrint\ - origin Threadworker.cpp
triggered!  - Threadworker.cpp
waiting... - Threadworker.cpp


Any ideas where these are coming from and how I stop them, as I am getting loads of erroneous emails

Many thanks

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



Posts: 2232
The Netherlands
Re: File Age Method - Triggers on New Files
Reply #1 - Jul 30th, 2013 at 6:56am
 
Hi,

Can you enable "debug", run the task and after it has triggered for files email me a backup of the task (gert @ gdpsoftware . com)? More details are 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
 
burnsr70
YaBB Newbies
*
Offline



Posts: 3
Re: File Age Method - Triggers on New Files
Reply #2 - Jul 30th, 2013 at 9:27am
 
Hi, I left debug on over night, and you can see in the history that there are the regular file-age checks every 10 minutes as I expect, interspersed with these strange activites every 61 minutes (but not at the same time as one of the file-age checks).  I restarted the job at around 8.15 so the timings change then.

Thanks

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



Posts: 2232
The Netherlands
Re: File Age Method - Triggers on New Files
Reply #3 - Jul 30th, 2013 at 9:36am
 
Ah ok, I see what is happening.
This is exactly the same issue as this message (from just a few days ago): http://www.watchdirectory.net/cgi-bin/yabb2/YaBB.pl?num=1374151006

You can follow the same advise: use the email task instead of the folder size task.
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
 
burnsr70
YaBB Newbies
*
Offline



Posts: 3
Re: File Age Method - Triggers on New Files
Reply #4 - Jul 30th, 2013 at 5:13pm
 
Thanks, Gert.  I have now rebuilt the task using the emial plug-in and that has resolved the problem.

Regards

Robin
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1