user [EMAIL PROTECTED] tags #396944 - close-20061130 thanks On Mon, Jan 22, 2007 at 03:43:38PM +0100, Marc Haber wrote: > I would like to know when exactly the pid file vanishes. > > A possible idea would be to have a cron job running every ten minutes: > > #!/bin/bash > > LOGFILE="/var/log/exim4/pidwatch.log.$(date +%Y%m%e)" > PIDDIR="/var/run/exim4" > > date "+%Y-%m-%e %H:%M:%S" >> $LOGFILE > ls -li $PIDDIR >> $LOGFILE > for file in $(ls $PIDDIR 2>/dev/null); do > echo $file >> $LOGFILE > head -n 2 $PIDDIR/$file >> $LOGFILE > done > echo -e "\n" >> $LOGFILE
Did you do this, and did you experience the issue again? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]