In play\'s 2.0.x doc you can see how to schedule asynchronous tasks:
http://www.playframework.org/documentation/2.0.4/ScalaAkka
Akka.system.scheduler
biesior's answer is great
However, you don't have to go through an actor if you don't want to. Here's the same answer using good old java.lang.Runnable:
Akka.system.scheduler.schedule(5 minutes, 5 minutes, new Runnable {
def run() {
Logger.info("that still ticks!")
}
})
Akka.system.scheduler.scheduleOnce(7 minutes, new Runnable {
def run() {
Logger.warn("... 7 seconds after start, only once")
}
})