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
Checking if tasks are actually running (Read 204 times)
TonyF
YaBB Newbies
*
Offline



Posts: 37
Checking if tasks are actually running
Jun 2nd, 2017 at 10:16am
 
I have a Windows 2012 server that is running ~ 13 WatchDirectory tasks as a service. On occasion, I have noticed that a task is reported as running by both the local Control Center and the WxRemote Control Center but is not actually detecting files on the monitored datashare. If I stop and restart the affected task, it starts to detect files again. I need to have a mechanism that detects if a task is not actually detecting files. One approach I thought of was to have an administration type task that would monitor the history.db files for the tasks and if they have not changed in (say) 24 hours then to send me an email. Obviously this would give me false alerts for tasks that monitor datashares that do not have frequent events occurring on them. Another approach I though of was to routinely stop and restart the tasks (via a script) but this is obviously a crude approach that I would use as a last resort.

Have you any thoughts on how I could address this issue?

Many thanks,

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



Posts: 2225
The Netherlands
Re: Checking if tasks are actually running
Reply #1 - Jun 3rd, 2017 at 8:32am
 
Hello Tony,

Those tasks, are they using the "Default" or "Fast" monitoring method? Those 2 methods need a very reliable network and "both sides" (the local Windows computer and the computer "hosting" the share) need to cooperate very closely for those methods to work reliably.

Try changing them to either "Polling" or "File Age" monitoring.
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