erlang/03 Cli application to store and periodically send messages