From owner-freebsd-questions Sat Oct 5 22:24:42 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 4699537B401 for ; Sat, 5 Oct 2002 22:24:41 -0700 (PDT) Received: from dragoncrest.jasnetworks.net (dragoncrest.jasnetworks.net [65.194.254.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AB0B43E75 for ; Sat, 5 Oct 2002 22:24:40 -0700 (PDT) (envelope-from dragoncrest@voyager.net) Received: from works (works.jasnetworks.net [192.168.0.2]) by dragoncrest.jasnetworks.net (8.12.3/8.11.6) with ESMTP id g965fNxA024152 for ; Sun, 6 Oct 2002 01:41:24 -0400 (EDT) (envelope-from dragoncrest@voyager.net) Message-Id: <4.2.0.58.20021006013105.009687c0@pop.voyager.net> X-Sender: dragoncrest@pop.voyager.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Sun, 06 Oct 2002 01:33:06 -0400 To: freebsd-questions@FreeBSD.ORG From: Lord Raiden Subject: Event Trigger Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 Hi. I'm looking for a simple way to implement a trap and trigger so to speak. I'm wanting to setup the system so that the moment it detects a certain event in the system, it immediately executes another script or program to do something else, but not before, not after. I thought about Cron, but the thing is, I don't know when these events will happen so since they're so random, I need something to identify them then immediately run another script or program at that exact moment. Any suggestions? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message