Trigger when file modified

I want to run an exchange between filemaker and my address book. Now that I have the basic exchange scripts written, I need to figure out how to trigger them. I have the sqLite file that populates address book. I was hoping to trigger a script “On Modify” of the sqLite source file. Figured I will need to use terminal, but beyond that I am at a loss.

Suggestions???

Model: MacBook/iMac
Browser: Firefox 3.6.12
Operating System: Mac OS X (10.6)

Maybe the WatchPaths key of launchd is what you’re looking for?

Type man launchd, man launchctl and man launchd.plist, in your terminal that is, for more information.