【发布时间】:2012-11-08 02:20:48
【问题描述】:
在 play 的 2.0.x 文档中,您可以看到如何安排异步任务:
http://www.playframework.org/documentation/2.0.4/ScalaAkka
Akka.system.scheduler.schedule(0 seconds, 30 minutes, testActor, "tick")
您如何使用最近发布的 Play 2.1 实现相同的目标???
整个 akka API 似乎发生了变化……
我已经检查过:
https://github.com/playframework/Play20/wiki/Highlights https://github.com/playframework/Play20/wiki/Migration 并且 http://doc.akka.io/docs/akka/2.1.0-RC1/project/migration-guide-2.0.x-2.1.x.html
在这里也问过:https://groups.google.com/d/topic/play-framework/7VcwNea6QlM/discussion
【问题讨论】:
标签: playframework-2.0 scheduled-tasks akka playframework-2.1