Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How to read a file after a certain interval continuously

by mhearse (Hermit)
on Feb 08, 2013 at 06:02 UTC ( #1017767=note: print w/ replies, xml ) Need Help??


in reply to How to read a file after a certain interval continuously

Use cron to schedule you script. You can save the line number of the last run. Seek to that line number. And read until EOF.


Comment on Re: How to read a file after a certain interval continuously

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-12-27 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls