Home > Archive > PERL CGI Beginners > November 2006 > Timeout script
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Allen Wang 2006-11-09, 6:55 pm |
|
Anyone knows how to write a timeout script using perl, basically I
want to like this,
* Use perl to connect to an oracle database
* After 5 minutes cannot connect to the database through
database listener, get a timeout message and email to a distribution
list
Thanks,
Allen
| |
| Paul Lalli 2006-11-10, 7:55 am |
| Allen Wang wrote:
> Anyone knows how to write a timeout script using perl, basically I
> want to like this,
>
>
>
> * Use perl to connect to an oracle database
>
> * After 5 minutes cannot connect to the database through
> database listener, get a timeout message and email to a distribution
> list
I have no idea what this has to do with CGI, but please read:
perldoc -f alarm
perldoc perlipc
Paul Lalli
|
|
|
|
|