in reply to File Locking revisited
Lock the lock file
Check the files. If they've been copied already, do nothing. If not, copy them.
Unlock the lock file
Simple as that. The key is to eliminate simultaneous processing of files, and by separating the lock file from the files to be processed, you can achieve that easily.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File Locking revisited
by Jasper (Chaplain) on Dec 01, 2004 at 14:27 UTC | |
by revdiablo (Prior) on Dec 01, 2004 at 17:27 UTC | |
by Jasper (Chaplain) on Dec 03, 2004 at 16:04 UTC | |
by graff (Chancellor) on Dec 03, 2004 at 14:14 UTC |