![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#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.
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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. |
||||
| Google The UNIX and Linux Forums |