Skip to content

Instantly share code, notes, and snippets.

@Noxville
Created April 1, 2015 17:10
Show Gist options
  • Save Noxville/cab1ff80ea29762a5195 to your computer and use it in GitHub Desktop.
Save Noxville/cab1ff80ea29762a5195 to your computer and use it in GitHub Desktop.
LeagueListingUpdateJob
package twopee;
class LeagueListingUpdateJob {
def concurrent = false
def leagueListingService
static triggers = {
simple name:'leagueListingUpdateTrigger', startDelay: 1000, repeatInterval: 60000 * 60
}
def execute(){
leagueListingService.update()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment