From owner-freebsd-questions Wed Dec 4 13:51:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3AE637B401 for ; Wed, 4 Dec 2002 13:51:46 -0800 (PST) Received: from temp.w4b.dk (mx3.w4b.dk [130.227.212.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9184B43EAF for ; Wed, 4 Dec 2002 13:51:45 -0800 (PST) (envelope-from t@garbage.dk) Received: from garbage.dk (0x50c482a1.adsl-fixed.tele.dk [80.196.130.161]) (AUTH: LOGIN t@garbage.dk) by temp.w4b.dk with esmtp; Wed, 04 Dec 2002 22:52:01 +0100 Date: Wed, 4 Dec 2002 22:51:43 +0100 Mime-Version: 1.0 (Apple Message framework v548) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: run command on logfile before it's rotated From: Thomas von Hassel To: freebsd-questions@FreeBSD.ORG Content-Transfer-Encoding: 7bit Message-Id: <93B9E916-07D2-11D7-B076-0003936CEB72@garbage.dk> X-Mailer: Apple Mail (2.548) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've got my system set up to rotate the maillog every day at midnight. What do i do if i want to run a command on the logfile just before it's rotated ? /thomas -- Thomas von Hassel DarX @ irc darxmac @ AIM/iChat Powered by inkwell...! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message