For the incrontab command and incrond daemon which provide crontab-like tools but for file events using inotify.
incron provides a crontab-like interface to a daemon that looks for inotify events in a filesystem. When they occur, a command can be run. As with cron, there is a system table, and users can each have their own table of events to listen for.
See the man pages for incrontab(1), incrontab(5), incron.conf(5), incrond(8).