in reply to Re^3: Check for a new line
in thread Check for a new line
The problem I have is that my open() command executes a program on the server(program A) that get stats from another program on the server(program B). When 'B' is running 'A' prints out a line every 10 seconds like this:
TIMESTAMP - value,value,value,value.
But if 'B' dies 'A' just hangs waiting for 'B' to come back up and doesn't print a new line until it can get stats from 'B'.
So my while loop is still running and I want a way to log "Error" if no more new lines are returned every 10 seconds.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Check for a new line
by dasgar (Priest) on Jan 27, 2014 at 15:46 UTC | |
|
Re^5: Check for a new line
by jellisii2 (Hermit) on Jan 27, 2014 at 15:41 UTC |