Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Monitor Directory modification

by ides (Deacon)
on Nov 12, 2006 at 16:55 UTC ( [id://583575]=note: print w/replies, xml ) Need Help??


in reply to Monitor Directory modification

None that I'm aware of.

Best way to do this is to have whatever is modifying the directory ( adding files, editing files, etc ) drop a empty file of a specific name, launch a script, or some other marker when it has modified something.

Second best option, is to just manually, using either cron or a long running process with some sleep() intervals, look for changes in the files.

Hope that helps.

Frank Wiles <frank@revsys.com>
www.revsys.com

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://583575]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-23 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found