Yeah .. not surprising, since you tail the file once, and then stop.
Why not read it, sleep for a minute, then read it again, as your original script tried to do?
In reply to Re^3: how to populate array with last 20 lines of file
by talexb
in thread how to populate array with last 20 lines of file
by ytjPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |