From owner-freebsd-questions Wed Apr 23 12:50:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA19623 for questions-outgoing; Wed, 23 Apr 1997 12:50:19 -0700 (PDT) Received: from cerberus.partsnow.com (gatekeeper.partsnow.com [207.155.26.98]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA19618 for ; Wed, 23 Apr 1997 12:50:17 -0700 (PDT) Received: (from bin@localhost) by cerberus.partsnow.com (8.8.5/8.6.9) id MAA10476; Wed, 23 Apr 1997 12:50:07 -0700 (PDT) X-Authentication-Warning: cerberus.partsnow.com: bin set sender to using -f Received: from nouvelle(192.168.100.9) by cerberus.partsnow.com via smap (V2.0) id xma010473; Wed, 23 Apr 97 12:50:03 -0700 Message-ID: <335E67F2.CCB@PartsNow.com> Date: Wed, 23 Apr 1997 12:50:10 -0700 From: Don Wilde Organization: Soligen, Incorporated X-Mailer: Mozilla 2.01E-NOV-NOV (Win95; I) MIME-Version: 1.0 To: Dan Wolfe CC: questions@freebsd.org Subject: Re: Cron jobs References: <01BC4FF0.6D7EC0A0@dans-zyga-pc.zyga.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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