Mix it in with a procedure to sleep five minutes and try again for failed attempts and a max number of 3 retries.foreach my $market (@HOSTLIST) { if( my $mypid = fork() ) { print("$market is pid $mypid\n"); } elsif( $mypid == 0 ) { new_session($market); } elsif( ! defined $mypid ) { die "Error: Couldn't fork: $!"; }
In reply to Re: Catching timeout for Net::Telnet
by TeKk9
in thread Catching timeout for Net::Telnet
by HeffaK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |