Answers for "grails 3 cron jobs"

0

grails 3 cron jobs

package asia.grails.sample

class ArchiveTablesJob {
    static triggers = {
      simple repeatInterval: 5000l // execute job once in 5 seconds
    }
    def execute() {
        // execute job
    }
}
Posted by: Guest on July-20-2020

Browse Popular Code Answers by Language