In Play 1.0, we can define some jobs which will be executed in the background:
@OnApplicatonStart
@Every("1h")
public class DataJob extends Job {
public void doJob() {
// ...
}
}
But I can't find it in Play 2.0. Do I miss something?