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
Can I do this with watchdirectory? (Read 2736 times)
yepitsme
YaBB Newbies
*
Offline



Posts: 3
Can I do this with watchdirectory?
Dec 15th, 2005 at 2:14pm
 
I would like WD to watch a directory and email certain files to certain individuals

For example I have directories with report due dates and subfolders for the days of the week.
\reports\120405\
\reports\121805\
\reports\122505\

and inside each directory we have files named with the persons nickname and the project, followed by the report duedate... so the files would be something like this:



george history project 122505.txt
frank floor cleaning project 122505.txt
susan lawn care project 122505.txt
ad nasum...

so i need

george history project 122505.txt to go to george@foo.net
frank floor cleaning project 122505.txt to go frank@dork.cn
susan lawn care project 122505.txt to go to susan@uglylady.org
ad nasum...

So everytime a files is put into that directory with george history ######.txt I need to get it emailed to george. I can seem to get WD set up for files, but I am having trouble with the duedate part of the naming convention that I have, I tried george history project ??????.txt but that didn't seem to work.

Back to top
 
 
IP Logged
 
yepitsme
YaBB Newbies
*
Offline



Posts: 3
Re: Can I do this with watchdirectory?
Reply #1 - Dec 15th, 2005 at 2:28pm
 
And sometimes the files with have status words appeneded to them like

susan lawn care project 122505 FINAL.txt
or
susan lawn care project 122505 HOLD.txt

Those files need to be sent in an email as well.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: Can I do this with watchdirectory?
Reply #2 - Dec 15th, 2005 at 5:29pm
 
Hi,

I would enter something like
*\reports\*\susan*project*.txt
or just
*susan*project*.txt

on the files that trigger events tab.

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



Posts: 3
Re: Can I do this with watchdirectory?
Reply #3 - Dec 15th, 2005 at 11:18pm
 
ah, thanks.
I just had the syntax wrong.
Cheers.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1