Re: Crontab script

2005-02-13 Thread Kövesdán Gábor
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

Re: Crontab script

2005-02-13 Thread Paul Schmehl
- 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

Crontab script

2005-02-13 Thread Kövesdán Gábor
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