module Schedule

Defined in:

schedule.cr
schedule/runner.cr
schedule/version.cr

Constant Summary

VERSION = "0.2.1"

Class Method Summary

Macro Summary

Class Method Detail

def self.after(interval, &block) #

[View source]
def self.calculate_interval(interval : Symbol, at : String | Array(String)) #

[View source]
def self.calculate_interval(interval : Symbol) #

[View source]
def self.every(interval : Symbol, at : String | Array, &block) #

[View source]
def self.every(interval : Symbol, &block) #

[View source]
def self.every(interval, &block) #

[View source]
def self.exception_handler : Proc(Nil) | Proc(Exception, Nil) | Nil #

[View source]
def self.exception_handler=(exception_handler : Proc(Nil) | Proc(Exception, Nil) | Nil) #

[View source]
def self.next_time(current_time : Time, at : Array(String)) #

[View source]
def self.next_time(current_time : Time, at : String) #

[View source]
def self.retry #

[View source]
def self.stop #

[View source]

Macro Detail

macro exception_handler(&block) #

[View source]