Re: 'sh: ping: command not found' error
Re: 'sh: ping: command not found' error
- Subject: Re: 'sh: ping: command not found' error
- From: Christopher Nebel <email@hidden>
- Date: Tue, 18 Feb 2003 09:45:19 -0800
On Tuesday, February 18, 2003, at 06:59 AM, martin wrote:
...do shell script "ping -c 3 216.190.188.1" entry returns an error,
but it only seems to do this when it is run by cron - in unattended
mode. The error is "sh: ping: command not found" ... .
I'd like to use this syntax and if anyone would indicate why I'm
having this problem I would be grateful.
See "do shell script in AppleScript" at
<
http://developer.apple.com/technotes/tn2002/tn2065.html>, in
particular the first question. (Short answer: use /sbin/ping, not just
ping.)
--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.