Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Korn shell, if no input within interval do this::help!

Status
Not open for further replies.

integerMan

Programmer
May 21, 2004
1
US
I have a problem, I've been over this for a while and must not be hitting the right sequence. Here is my situation.

I have a script that displays different statuses of components on our system. I have two different versions, one that upon displaying the status it waits for input to see the print the log file according to user input, if not, exit. Then my other version paints the status, sleeps for a specified amout of time, then repaints.

What I want to do, is create a script that will paint the status and wait an interval, if during that interval input is entered, paint the log file, if not repaint the status, and so on... can anybody help me with this one?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top