Help for this page
my $dbh = DBI->connect(...) or handle_connect_fail($DBI::errstr); ... # maybe sleep 300 and retry. # Or use mail send module, and have your script page you. }