Re: POE FollowTail sometimes works sometimes doesn't
[email protected] (Randal L. Schwartz)
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Organization | Stonehenge Consulting Services; Portland, Oregon, USA |
| Message-ID | <[email protected]> |
>>>>> "Emmanuel" == Emmanuel <[email protected]> writes: Emmanuel> The file watched is overwritten by an application every 10-15 minutes, Emmanuel> contains only 3 lines. Here is an example of its contents: By overwritten, what do you mean? If the file is rewound and rewritten in place, that's not the kind of thing that tail -f or FollowTail can detect (and is generally bad practice). If the file is unlinked (or renamed) and a new file put in its place, FollowTail *should* detect that. Check the inode number on each rewrite (ls -i). If the number doesn't change, FollowTail isn't misbehaving -- the application is. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion