P is for Practical | |
PerlMonks |
Re: file size monitoringby Laurent_R (Canon) |
on Sep 03, 2013 at 18:49 UTC ( [id://1052164]=note: print w/replies, xml ) | Need Help?? |
If you know the directory, then do I understand right that this is just a matter of checking if any file (possibly with some filename filtering specifications) is growing beyond the 1 MB limit? How often do you need to check The File::Find module is an option, but for such an easy task (no need to walk through subdirectories, I understand), you might as well write a procedure reading the directory and finding files matching your conditions. Ah, yes, as a final question, have you tried something? Otherwise, I do not know any thing about the "HP OVO product", if this is important to your question, I may be off-topic.
In Section
Seekers of Perl Wisdom
|
|