The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
help me in sending parameters from sqlplus script to unix shell script Hara Shell Programming and Scripting 2 01-29-2008 12:31 PM
How to implement polling for a function using timer in C? naan High Level Programming 7 11-19-2007 01:00 AM
Shell Script: want to insert values in database when update script runs ring Shell Programming and Scripting 1 10-25-2007 12:06 AM
check in unix shell script so that no one is able to run the script manually adi_bang76 Shell Programming and Scripting 1 11-16-2006 07:43 AM
Polling/Interrogate Directory Questions dnidiffer Shell Programming and Scripting 1 06-14-2005 06:20 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-06-2001
Registered User
 

Join Date: Sep 2001
Location: Harare, Zimbabwe
Posts: 1
Help - Polling Script

How do I write a shell script to perform polling just like what happens with Microsoft mail. i.e display an alert box.
Reply With Quote
Forum Sponsor
  #2  
Old 09-06-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
polling...

It really depends what you're trying to poll
as to what specific scripting language to use
but once you have created the shell or perl
or awk or python or etc. script, you would
then execute that script via cron. You would
set up a cron job in some user's crontab to
run at specified intervals assuming you do
not have to poll faster than once every miniute.

For instance, to poll a web page, you might
want to use a perl script to run every 10min
or so. To just poll a TCP connection using ping,
you can just use a shell script. It really depends
on your needs and what scripting tool can give
you the best tool set for the job.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0