Skip site navigation (1)Skip section navigation (2)
Date:      13 May 2003 09:41:08 -0400
From:      "Jeff Neuffer Jr." <jneuffer@nstel.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Trigger on file change
Message-ID:  <1052833268.10876.131.camel@shortfin>
In-Reply-To: <1052826451.27682.29.camel@horus>
References:  <1052826451.27682.29.camel@horus>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1052833268.10876.131.camel>