Trigger on file change
Jeff Neuffer Jr.
jneuffer at nstel.com
Tue May 13 06:41:04 PDT 2003
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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
More information about the freebsd-questions
mailing list