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
Round Robin file move (Read 3990 times)
Mark Bell
YaBB Newbies
*
Offline



Posts: 1
Round Robin file move
Feb 1st, 2012 at 3:20pm
 
Hi, our company uses WatchDirectory to sort some incoming documents based upon their filenames.

I have had a new request to sort some other files on a round robin basis
E.G if there are 60 files in a directory, the first would be moved to folder 1, the next to folder 2, the next to folder 3 and the next to folder 1 again.

In this way documents would be divided equally amongst a number of sub folders.

Is this possible in WatchDirectory ?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: Round Robin file move
Reply #1 - Feb 1st, 2012 at 7:22pm
 
Hello Mark,

That should be possible with a script.

Some samples to get you started:

Using WD for load sharing
http://www.watchdirectory.net/cgi-bin/yabb2/YaBB.pl?num=1208210875

Load balancing humans
http://blog-en.gdpsoftware.com/2009/08/q-load-balancing-humans.html

Let me know if you need further help.
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