Gábor
Paul Schmehl wrote:
- Original Message - From: "Kövesdán Gábor"
<[EMAIL PROTECTED]>
To:
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
- Original Message -
From: "Kövesdán Gábor" <[EMAIL PROTECTED]>
To:
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 sc
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`
EXECUTA