Event Monitor service that accepts events from various services, runs them through a simple rules engine, and takes action. The actions can run commands, send email, or SMS messages. More information: https://keith.github.io/xcode-man-pages/emond.8.html.
emond
emond -r {{path/to/file_or_directory}}
emond -c {{path/to/config_file}}