Results 1 to 1 of 1
I'm writing a daemon that needs to run every time a new file is placed into a specific directory. The only way I have come across to do this would ...
- 03-25-2008 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 1
Daemon help
I'm writing a daemon that needs to run every time a new file is placed into a specific directory. The only way I have come across to do this would be to have a list of the files and then constantly read the the list of files in the directory and compare them to the list i already have. the problem with this method is that it seems to tedious and time consuming, because I need a very fast response time. Does anyone have any idea of a quicker way to detect a new file? thanks
-Ryan


Reply With Quote