Added ability to send messages when a restart is first scheduled, and
adding the ability to send multiple messages on schedule and on
shutdown.