Date: Thu, 9 Apr 1998 17:29:30 +0930 From: Greg Lehey <grog@lemis.com> To: Doug White <dwhite@resnet.uoregon.edu>, Chado <chado@p3.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Ping program not working from cron Message-ID: <19980409172930.64515@freebie.lemis.com> In-Reply-To: <Pine.BSF.3.96.980409001511.13615f-100000@gdi.uoregon.edu>; from Doug White on Thu, Apr 09, 1998 at 12:15:36AM -0700 References: <3.0.3.32.19980408233735.0090d270@popmail.p3.net> <Pine.BSF.3.96.980409001511.13615f-100000@gdi.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 9 April 1998 at 0:15:36 -0700, Doug White wrote: > On Wed, 8 Apr 1998, Chado wrote: > >> Gents, >> >> I have written a program that pings hosts on our network and the internet. >> >> When I run it from the command line it works fine...but when I install it >> in the cron it doesnt find any of the local machines. > > Are you sure you can run ping at all from cron? It may be erroring with a > `permission denied' or something like that ... In cron, the most likely problem is "file not found". Try specifying all program names with a full pathname (/sbin/ping, not ping). Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980409172930.64515>