Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 1997 12:50:10 -0700
From:      Don Wilde <Don@PartsNow.com>
To:        Dan Wolfe <DWolfe@ZYGA.com>
Cc:        questions@freebsd.org
Subject:   Re: Cron jobs
Message-ID:  <335E67F2.CCB@PartsNow.com>
References:  <01BC4FF0.6D7EC0A0@dans-zyga-pc.zyga.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You need a shell or Perl script that will run the output ps -ax into a 
pipe to grep which will search for your filename (i.e.,syslogd, which 
my old firewall had a habit of lunching) then run the program if there 
exists any output from the grep. Simply place that in the cron table 
with your time slots marked. Should be straightforward enough. If you 
get tricky you can also then find the .core file left behind by the 
crash.
-- 
  oooOOO O O O o * * *  *   *   *
 o     ___       _________ _________ ________ _________ _________ ___==_
 V_=_=_DW ===--- Don Wilde [don@PartsNow.com] [http://www.PartsNow.com ]
/oo0000oo-oo--oo-ooo---ooo-ooo---ooo-ooo--ooo-ooo---ooo-ooo---ooo-oo--oo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?335E67F2.CCB>