Hi,
I've seen somewhere an easy way to check whether a program with a
specified pid is running or not. I've made a crontab script to check my
programs based on this. The script is the following:
#!/bin/sh
PID_FILE=/usr/local/bopm/var/bopm.pid
PID=`cat $PID_FILE`
EXECUTABLE=/usr/local/bopm/bin
- Original Message -
From: Kövesdán Gábor [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sunday, February 13, 2005 1:13 PM
Subject: Crontab script
Hi,
I've seen somewhere an easy way to check whether a program with a
specified pid is running or not. I've made a crontab
Message - From: Kövesdán Gábor
[EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Sunday, February 13, 2005 1:13 PM
Subject: Crontab script
Hi,
I've seen somewhere an easy way to check whether a program with a
specified pid is running or not. I've made a crontab script to check
my