Background task in Liftweb environment

喜欢而已 提交于 2019-12-07 16:27:31

问题


I must write daemon and I want to use Models for connecting to the database and some useful Lift classes. Is it possible to run analog of Rails's rake tasks?


回答1:


There is similar question on the Scala community group. The answer is to use Actors to do background processing.

http://groups.google.com/group/liftweb/browse_thread/thread/ce536649e6e83867/ffde3a3d619adf9d?lnk=gst&q=background#ffde3a3d619adf9d



来源:https://stackoverflow.com/questions/3383076/background-task-in-liftweb-environment

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!