*BSD News Article 74003


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!news.mathworks.com!zombie.ncsc.mil!news.missouri.edu!hptemp1.cc.umr.edu!smccoll
From: smccoll@rocket.cc.umr.edu (Steven McColl)
Newsgroups: comp.sys.sun.admin,alt.sys.sun,comp.unix.bsd.misc,comp.unix.programmer,comp.unix.bsd.bsdi.misc,comp.unix.admin
Subject: Re: ping script
Date: 17 Jul 1996 17:17:11 GMT
Organization: UMR Missouri's Technological University
Lines: 24
Distribution: world
Message-ID: <4sj76n$9fp@hptemp1.cc.umr.edu>
References: <Pine.SOL.3.93.960702171209.4062B-100000@gold.acns.fsu.edu> <4sbfat$ll@keyhole.west.spy.net>
NNTP-Posting-Host: rocket.cc.umr.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.sys.sun.admin:70679 alt.sys.sun:10417 comp.unix.bsd.misc:1254 comp.unix.programmer:39676 comp.unix.bsd.bsdi.misc:4326 comp.unix.admin:44992

One word:  crond  :)

Steve


Dustin Sallings (dustin@keyhole.west.spy.net) wrote:
: Douglass E. Davis (davis@gold.acns.fsu.edu) wrote:

: : I am trying to make a script that will ping a computer every few minutes
: : and run a program if there is no answer.  

: : I was thinking about making a C program to do the same thing. it would
: : just do a :
: : system("ping blazay > datafile ")
: : then it would read datafile  to see if the ping worked.

: 	That's silly, do it in scotty or something that you can actually
: ping from.  Don't use system.

: -- 
: IPA.net Sysadmin         My girlfriend asked me which one I like better.
: pub  1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net>
: |    Key fingerprint =  87 02 57 08 02 D0 DA D6  C8 0F 3E 65 51 98 D8 BE 
: L_______________________ I hope the answer won't upset her. ____________