Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Database Link Timer (oh, one more thing)
On 06/24/2004 05:30:19 PM, Shawn Ferris wrote:
> > http://www.oreilly.com/catalog/oracleperl/pdbatoolkit/
>
I don't see what's the big deal? Here is a very simple code snippet which will time out after 10 secs and do whatever one tells it to do.
#!/usr/bin/perl
$SIG{"ALRM"}= sub { print "Alarm detected. Reboot everything [Y/n]:\n"; };
alarm 10;
sleep 200;
If I need oracle in the mix, I'll simply throw in some DBI and do whatever is needed.
-- Mladen Gogala Oracle DBA Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Thu Jun 24 2004 - 16:57:20 CDT
![]() |
![]() |