You can use the Akka scheduler.
val scheduler = Akka.system(app).scheduler scheduler.schedule(0 seconds, 1 hour) { // run this block every hour }
The first parameter is the delay, so if you want to delay a certain time, you can easily calculate the target time using simple date arithmetic.
source share