It looks like for now you’re storing all scheduled messages in an array in memory.
I think you’ll want to plug in some persistence layer so that the process can be restarted.
I think you’ll want to plug in some persistence layer so that the process can be restarted.