Re: applescript "ping"
Re: applescript "ping"
- Subject: Re: applescript "ping"
- From: Gnarlodious <email@hidden>
- Date: Fri, 3 Nov 2006 11:03:01 -0700
This is what I use. I can't test it at the moment since Earthlink
hijacked my computer and all requests are now routed to an Earthlink
error page, which is inethical if not entirely illegal. But it used to
work before then, and I'm quitting Earthlink soon.
set otherMachine to "Gnarlodious"
if ((do shell script "ping -c1 " & otherMachine & ".local >/dev/null
&& echo 1 || echo 0") as number) = 1 then
say speakName & " is ready"
else
say speakName & " is not available"
end if
-- Gnarlie
On 11/3/06, Bob Cuilla <email@hidden> wrote:
I have a Mac network with several machines that are all being backed
up, from a server, by Retrospect. The automatic backup runs
Retrospect scripts for each machine. Most of the time some of these
machines are out of the office (laptops) and of course, Retrospect
cant find them. In this case Retrospect issues a warning.
I would like to check for the presence of these machines, maybe a
ping. The result would allow me to script Retrospect accordingly.
In other words, is a particular machine is not on the network, I
would not try to back it up.
Does anyone have any ideas on this issue?
Thanks
Bob Cuilla
BLC Data Solutions
Orlando, Fl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden