I am using akka as a scheduler in a website written with Play framework 2.3. I kept the server running by using
activator run in dev environment.
And when I changed some files and tried to visit my website, the Play server will compile these changed files and reload the server, which caused the Akka scheduler shut down and restart. Then all my scheduled tasks cannot be executed in correct sequence and caused a logical mess.
I want to ask if I can find a way to let the Akka scheduler keep running all the time until I send a signal to it to let it reload?
And can I do it in both dev env and prod env?