WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
Page Index Toggle Pages: 1
Multiple threads - parallel batch file processing (Read 2318 times)
YaBB Newbies

Posts: 1
Multiple threads - parallel batch file processing
Apr 15th, 2012 at 6:34pm
I have set Watch Directory up to look for PDF files being added and then run a bat file to convert each PDF file to a JPEG. It's working great. My only issue is that when I add multiple files it processes the files in sequence. This is pretty slow. It would be great if I could make each batch file run independently and in parallel.
Back to top
IP Logged
YaBB Administrator

Posts: 2268
The Netherlands
Re: Multiple threads - parallel batch file process
Reply #1 - Apr 15th, 2012 at 8:26pm

I guess this is a task based upon the "run batch file" plugin ( ).

You can check the option "don't wait for bat files to complete" to allow multiple files be processed at the same time. To be allowed to check that option you first must uncheck "capture output..." as those 2 options are not compatible.

However, I think converting PDF to JPG is mostly a disk intensive process (reading/writing) so you may not win so much time.
Back to top

Gert Rijs - gert (at) gdpsoftware (dot) com
End Alzheimer's:
WWW WWW GdPSoftware  
IP Logged
Page Index Toggle Pages: 1