Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: how to permanently monitor a directory

by waswas-fng (Curate)
on Aug 14, 2003 at 13:31 UTC ( #283864=note: print w/replies, xml ) Need Help??


in reply to Re: how to permanently monitor a directory
in thread how to permanently monitor a directory

Of course, if someone copies a file there and is still dropping it while your loop runs in the cycle you may see issues with truncating data. You should also build in tests to see if the file is done being written to. I assume you are moving the file to proccess it not just to move it.

-Waswas
  • Comment on Re: Re: how to permanently monitor a directory

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://283864]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2016-12-11 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.