The stupid question is the question not asked | |
PerlMonks |
Re: Remote host back online testby andyford (Curate) |
on Nov 26, 2007 at 21:39 UTC ( [id://653095]=note: print w/replies, xml ) | Need Help?? |
Pinging might not work well for you. Computers tend to be 'pingable' soon after they boot up, but other services such as a database or webserver might start considerably later. You might want to brute force it: just send your command and try to analyze the result and resend if necessary. Or perhaps figure out some other test that tells you that the service you need is running.
In Section
Seekers of Perl Wisdom
|
|