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
Concurrent Jobs (Read 2805 times)
egridley
YaBB Newbies
*
Offline



Posts: 1
Concurrent Jobs
Dec 21st, 2011 at 8:31pm
 
Is there a way to configure a task to only run a certain number of jobs simultaneously? I have a job that does some file moving/copying on the network, and I have found that it is MUCH faster to only do 4-5 at a time instead of starting all 50-60 jobs at the same time.

I have searched but have been unable to find anything that would help with this.

Hopefully this makes sense.

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



Posts: 2225
The Netherlands
Re: Concurrent Jobs
Reply #1 - Dec 22nd, 2011 at 6:06am
 
Hello Eric,

I have just answered your email about this.
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
 
shancock
YaBB Newbies
*
Offline



Posts: 1
Re: Concurrent Jobs
Reply #2 - Mar 28th, 2013 at 1:35am
 
Hi Gert,

I have the same question as Eric. WD sets off a program when every file appears. I might have 100 files appear in a few seconds, and so 100 instances of the program are started, and might take 60 seconds to process the file. The program posts data from the files to a web service. My concern is that either the web service will get flooded with too many messages, or the PC running WD will not handle all the instances of the program. So might thought is to look at ways to control the number of concurrent instances through WD. But I cannot see anywhere to do this. I have WD Pro, and in the Scheduler Pro tab it has a number of options on when to start, but not to limit instances.

Your help would be appreciated please.

Regards, Scott.
Grin
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Concurrent Jobs
Reply #3 - Mar 28th, 2013 at 8:14am
 
Hello Scott,

If you use the "Run any program" task ( http://www.watchdirectory.net/wdhelp/plugins/wdopAutoLaunch.html ), there is an option to wait for the started program to complete.

If you start your program through a .bat file, you can set an option how many .bat files are concurrently allowed to run.

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