Search
 
SCRIPT & CODE EXAMPLE
 

RUBY

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
    }
}
Comment

PREVIOUS NEXT
Code Example
Ruby :: ruby number of week 
Ruby :: true sting to true in rails 
Ruby :: dynamic database connection in rails 
Ruby :: rails server not updating 
Ruby :: rails loop through datetime 
Ruby :: .delete ruby 
Ruby :: ruby random number between 
Ruby :: ruby frozen_string_literal 
Ruby :: ruby if else 
Ruby :: ruby array loop 
Ruby :: add index in rails 
Ruby :: formatting a floating point number in ruby 
Ruby :: ||= ruby 
Ruby :: activerecord exclude 
Ruby :: ruby bundler load error 
Ruby :: rails g sessions controller in rails 
Ruby :: rails order nil last 
Ruby :: rails format number k - m 
Ruby :: og meta tags not working rails 
Ruby :: elsif ruby 
Ruby :: how to use custom switch in rails 
R :: update r from rstudio 
R :: if not i startswith r 
R :: r convert list to comma separated string 
R :: set row names in r 
R :: sort in descending order in r 
R :: how to read multiple csv files from a directory in r 
R :: r convert to factor 
R :: how to get quantile summary statistics in r summarise 
R :: how to use r with variable 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =