(Quick Reference)

cron

Purpose

A cron trigger that executes based on the defined cron expression

Examples

class MyJob {
  static triggers = {
    cron name:'cronTrigger', startDelay:10000, cronExpression: '0/6 * 15 * * ?'
  }

def execute() { println "Job run!" } }