Search code examples
playframeworkcronjobsplayframework-1.x

Play Jobs with multiple schedules


Is there a way with Play 1 to have multiple schedules for the same job?

I would like one of my job to run at certain times daily and different times at the week ends.


Solution

  • Up to now it wasn't possible to have the same job with different schedule altough the work around described by Seb would do the trick.

    However there is now a new module called Multi Jobs which allows to have several methods defined with their own schedule.