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` EXECUTABLE=/usr/local/bopm/bin

Re: Crontab script

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

Re: Crontab script

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