grails 3 travaux cron
package asia.grails.sample
class ArchiveTablesJob {
static triggers = {
simple repeatInterval: 5000l // execute job once in 5 seconds
}
def execute() {
// execute job
}
}
Disgusted Duck