Liftweb环境中的后台任务 [英] Background task in Liftweb environment

查看:48
本文介绍了Liftweb环境中的后台任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须编写守护程序,并且我想使用模型来连接数据库和一些有用的Lift类. 可以运行模拟Rails的抽佣任务吗?

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?

推荐答案

Scala社区组也有类似的问题.答案是使用Actors进行后台处理.

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

这篇关于Liftweb环境中的后台任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆