Emergency message on site with rules(?)
I think this is what you want Rules action with node.js  module

In order to do this, you have to install the node.js on your server. They have a tutorial video for that Installation of Node.js integration module for Drupal