i'm not a fan of shelling out when the task can easily be accomplished by built-in modules. it introduces an unenforceable dependency that's left to the system operator, and is pretty expensive. plus, the way you're shelling out here would reveal some db credentials on the command line
This watcher can be used for load balancing