hi, > # Check if Mimedefang ist running, if not, start it. > */5 * * * * root ps ax | grep mimedefang | grep -v grep > /dev/null || > /usr/local/sbin/startmimedefang > /dev/null
"grep [m]imedefang" instead of "grep mimedefang | grep -v grep". And this is highly unreliable. Use daemontools instead: http://cr.yp.to/daemontools.html Daemontools is a process supervisor. It will monitor a process and restart it if it dies. I can give you a short intro to it, if you want. -daniel ---------------------------------------------- [EMAIL PROTECTED] Maillist-Archive: http://www.mail-archive.com/swinog%40swinog.ch/
