Not sure if there's a way to do it instantly, but one way is to just run a find command in a cron job every X hours:
find /foo/bar -type f -mtime +1 | xargs foobar find /foo/bar -type f -mtime +1 | xargs foobar-exec foobar {} +