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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2016-12-05 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (71 votes). Check out past polls.