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
HowTo... Use Polling (Paid version only) (Read 5522 times)
Gert
YaBB Administrator
*****
Offline



Posts: 2233
The Netherlands
HowTo... Use Polling (Paid version only)
Jul 3rd, 2003 at 4:18pm
 
Version 2 of watchDirectory introduced Polling Mode.
If you start WD with the /p switch it will scan the monitored directory every 5 minutes for changes.
The reason for introducing this Polling Mode is to support network-drives (actually network software) that do not implement certain Windows features that are used by watchDirectory.

The polling interval that watchDirectory uses by default is 5 minutes. If you want to change this interval you should set the environment variable WD_POLLFREQ to the desired interval time in minutes before you start watchDirectory.
Starting with version 2.0.3 the variable WD_POLLFREQ is not used anymore. Instead you specify the polling frequency in seconds on the commandline: /p60 would cause WD to scan the directory every minute.

The rest of the topic is deleted as it isn't correct anymore.
Back to top
« Last Edit: Jul 24th, 2003 at 5:23pm by Gert »  

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
 
harry
YaBB Newbies
*
Offline



Posts: 4
Amsterdam (NL)
Re: HowTo... Use Polling (Paid version only)
Reply #1 - Jul 4th, 2003 at 5:20pm
 
Hi Gert,

Looks interesting,

Is this parameter only in Minutes, no Seconds?
Is there a practical (upper/lower) limit?
What types of non-Windows devices do you mean; AS400, Unix, Linux, any-device?

Hope to hear from you, Harry
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2233
The Netherlands
Re: HowTo... Use Polling (Paid version only)
Reply #2 - Jul 4th, 2003 at 5:41pm
 
Quote:
Is this parameter only in Minutes, no Seconds?

Yup, minutes only.
Version 2.1, due out end of August, will allow the polling frequency to be set in an easier (and more finegrained) way.
Quote:
Is there a practical (upper/lower) limit?

As this setting is intended to be used on 'remote' drives (network drives) each directory scan done by WD will access the network. This is of course slower than accessing a local disk.
To prevent that WD will monopolize the network the default frequency is set to 5 minutes. The minimum allowed value is 1.
As for the maximum: 2147483647 minutes (once every 4085 year Cheesy)
Quote:
What types of non-Windows devices do you mean; AS400, Unix, Linux, any-device?

Any drive accessible from your windows machine should work. If you are able to see the contents of the drive in Windows Explorer, WD should also work...

If you do NOT use polling, WD makes certain windows-calls that are not implemented by all network-software (causing error messages at startup of WD).
If you use polling WD will just scan the directory structure.

Gert
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
 
harry
YaBB Newbies
*
Offline



Posts: 4
Amsterdam (NL)
Re: HowTo... Use Polling (Paid version only)
Reply #3 - Jul 4th, 2003 at 6:48pm
 
So,

With Polling-Mode (in a potential future situation at my company) I can Watch and Manage an IBM Mainframe, configured as a Unix/Linux Server with 999 disk-units and 999.999 directories from a Single-Licence WD-PC-Version?

Looks good, but perhaps you should consult your Marketing-Director about this isue.

Greetz, Harry
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2233
The Netherlands
Re: HowTo... Use Polling (Paid version only)
Reply #4 - Jul 4th, 2003 at 7:01pm
 
In theory this is possible.

However, I don't think Windows allows you to map 999 drives on 1 machine. Guess you would need at least 10 machines to do this mapping (=> 10 WD licenses). Maybe I am mistaken about this..

Just for the sake of argument, let's say it IS possible to map 999 drives to one machine. You must start a separate WD process for each directory you want to watch. If you decide to watch the 'root' directory of each disk that means you must start 999 WD processes.
Guess that will bring Windows to its knees...
So, again, you should splitup this work over multiple machines => multiple licenses.

Thank you for being concerned about our income Wink

Gert

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