Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by mhearse (Chaplain)
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 pondering the Monastery: (5)
As of 2016-06-30 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (389 votes). Check out past polls.