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
-Waswas
|
---|
In Section
Seekers of Perl Wisdom