There are several Ping UDFs available that will do what you want. The Ping that I use allows you to specify several pings, but will return on the first successful ping - useful for "waking up" dormant connections.

 Code:
If Ping($Host, 10)
  ; run backup
EndIF


Glenn
_________________________
Actually I am a Rocket Scientist! \:D