Assuming your machines database (or the interface too it) can be told to run this script when a modification occurs, you are halfway to completing this project
If you happen to be using Linux you can use inotify; I'm posting this here due to the comments here on this post. ActiveMQ is very easy to get running and it uses STOMP so it's just plain ole text. I'm not sure why this concept is new to so many people. Everyone repeat after me; Cron isn't an appropriate replacement for an event system and you shouldn't try or attempt at using it as one. Really i'd venture to say no one should be using poll() or select() at this point for monitoring the filesystem either.Â
Freebsd/OSX use kqueue. Â Here's a great tutorial on using inotify with linux. The opensolaris devs just pointed me to (FEM) libevent; couldn't find anything from google. Here are some good links/bg on that:
Message Brokers
Sweet so this is cool, when you get to this part:
If you happen to be using Linux you can use inotify; I'm posting this here due to the comments here on this post. ActiveMQ is very easy to get running and it uses STOMP so it's just plain ole text. I'm not sure why this concept is new to so many people. Everyone repeat after me; Cron isn't an appropriate replacement for an event system and you shouldn't try or attempt at using it as one. Really i'd venture to say no one should be using poll() or select() at this point for monitoring the filesystem either.Â
Freebsd/OSX use kqueue. Â Here's a great tutorial on using inotify with linux. The opensolaris devs just pointed me to (FEM) libevent; couldn't find anything from google. Here are some good links/bg on that:
Event ports, The Event Completion Framework
Related Posts:
About Christopher Warner
No description. Please complete your profile.