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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Realtime threads in Linux

Status
Not open for further replies.

KARLB

Technical User
Apr 4, 2002
29
0
0
US
How can i set up a realtime thread in linux (shell script/perl) that is realtime, and will read (or be sent information) at any time.

I am looking for something along the lines of:

karlb.sh

loop until END
check file

If Something
Notify someone
If Else
Dont bother

sleep 1


Looking at it this way it would be easier to use in a perl script, anyone know how to do this in perl??


Sorry if it seems a little vague (i know hwat i mean he he)

Kind regards, Karlb.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top