Perhaps you could separate the Akka schedulers in a different project and
deployment. It gets a bit more complicated but gives you the control you
want.

[]s,

Em qui, 11 de jun de 2015 05:25, Bin Zhu <[email protected]> escreveu:

> 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 (actually all the tasks are flushed)
> 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 even I reload the project.
>
> Or if there is another way to hot-swap my project and keep akka scheduler
> running all the time?
>
> And can I do it in both dev env and prod env?
>
>
> Thanks a lot!
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to