From owner-freebsd-questions Thu May 8 08:45:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA03903 for questions-outgoing; Thu, 8 May 1997 08:45:36 -0700 (PDT) Received: from md.zyga.com ([204.192.12.2]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id IAA03896 for ; Thu, 8 May 1997 08:45:32 -0700 (PDT) Received: from dans-zyga-pc.zyga.com ([204.192.12.103]) by md.zyga.com (8.6.11/8.6.9) with SMTP id KAA16500 for ; Thu, 8 May 1997 10:31:36 GMT Received: by dans-zyga-pc.zyga.com with Microsoft Mail id <01BC5BA1.7F07A140@dans-zyga-pc.zyga.com>; Thu, 8 May 1997 11:18:03 -0400 Message-ID: <01BC5BA1.7F07A140@dans-zyga-pc.zyga.com> From: Dan Wolfe To: "'questions@freebsd.org'" Subject: Keeping a process running Date: Thu, 8 May 1997 11:18:02 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id IAA03899 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi everyone, I have a process called 'startslip' in FreeBSD that I want to periodically check using cron to make sure it is still running, and if it has stopped, to restart it. Can anyone give ideas on the best way to accomplish this? -Dan