Cawan 3 CRON JOBS

package asia.grails.sample

class ArchiveTablesJob {
    static triggers = {
      simple repeatInterval: 5000l // execute job once in 5 seconds
    }
    def execute() {
        // execute job
    }
}
Disgusted Duck