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
Schedule (Read 3069 times)
ansj
YaBB Newbies
*
Offline



Posts: 3
Schedule
Jan 2nd, 2006 at 9:29am
 
Hi !

We're running WatchDirectory as a windows service that monitors a network drive.
Because of backups the network drive is not always availiable all the time. We have sheduled the Task not to be run between 21 - 00 PM, but it seems like the service tries to monitor the drive anyway. We are getting the following Error messages:

DMD - Can not monitor directory \\serwb08\everyone\ftp\LagerDb: Error Code: 53
Description: The network path was not found.

This message continues te be recieved between 21 - 00 PM...
After a while the service stops to run (BIG problem)

The config file looks like this:
[watchDirectorySchedule]
method=2
methodDelayNum=1
methodDelayWhat=2
methodWeekdaySun=1
methodWeekdayMon=1
methodWeekdayTue=1
methodWeekdayWed=1
methodWeekdayThu=1
methodWeekdayFri=1
methodWeekdaySat=1
methodWeekdayPart=1
methodWeekdayStartHour=0
methodWeekdayEndHour=21
methodWeekdayIgnoreOutside=0
mergeTasks=0
mergeUpdatesTimestamp=0
[watchDirectoryMasks]



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



Posts: 2233
The Netherlands
Re: Schedule
Reply #1 - Jan 2nd, 2006 at 10:08am
 
Hi,

There is probably some misunderstanding what the scheduler does. The scheduler only affects if or when the task (copy, email, upload etcetera) is run. The monitoring part of watchDirectory will always remain active, looking for changes on your drive.

The best solution in your case would be to stop the task at 21:00 pm, and start it again at midnight.

To stop the task named "AUTOCOPY", use the following command:

wdRun -stop AUTOCOPY

to start it again:

wdRun -start AUTOCOPY

You can use the Windows Scheduler (see picture) to schedule these commands every day.

Gert
Back to top
 

schedule.jpg (51 KB | )
schedule.jpg

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



Posts: 3
Re: Schedule
Reply #2 - Jan 2nd, 2006 at 1:46pm
 
Thanks !

Regards
Anders
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1