From owner-freebsd-questions@FreeBSD.ORG Tue May 13 06:41:03 2003 Return-Path: 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 AE9B937B401 for ; Tue, 13 May 2003 06:41:03 -0700 (PDT) Received: from chieftian.nstel.com (copperhead.nstel.com [216.237.224.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3BD243F85 for ; Tue, 13 May 2003 06:41:02 -0700 (PDT) (envelope-from jneuffer@nstel.com) Received: from [172.16.100.14] ([172.16.100.14]) by chieftian.nstel.com (8.11.6/8.11.6) with ESMTP id h4DDtld04960 for ; Tue, 13 May 2003 09:55:47 -0400 From: "Jeff Neuffer Jr." To: freebsd-questions@freebsd.org In-Reply-To: <1052826451.27682.29.camel@horus> References: <1052826451.27682.29.camel@horus> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-11) Date: 13 May 2003 09:41:08 -0400 Message-Id: <1052833268.10876.131.camel@shortfin> Mime-Version: 1.0 Subject: Re: Trigger on file change X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 13:41:04 -0000 This is interesting. It would be nice to know what (if anything) can be done. Wouldn't something like Tripwire do this? On Tue, 2003-05-13 at 07:47, Guy Van Sanden wrote: > I need to have a script run everytime a file changes. > The file only changes once every month (tops), but the script needs to > be run rather fast after the change (5-10 minutes) > > I thought of leaving the script looping, making a checksum / date check > every time and sleeping the rest, but it seems like a lot of overhead > (disk access). > > Does anyone know of a utility that can do this, possibly one that can > monitor filehandlers in the kernel? > > Thanks > > Guy > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Jeff Neuffer Jr. Data Services Technician North State Communications 336-819-6723 Data Service's Office 336-886-2243 Fax 336-886-3967 Business Data Repair 336-886-3630 After Hours Emergency Subscriber's Page: http://www.northstate.net