class Tasker::CRON(R)

Defined in:

tasker/cron.cr

Constructors

Instance Method Summary

Instance methods inherited from class Tasker::RepeatingTask(R)

cancel(msg = "Task canceled") cancel, each(&) each, get get, next_scheduled : Time | Nil next_scheduled, resume resume, trigger trigger

Constructor methods inherited from class Tasker::RepeatingTask(R)

new(&block : -> R) new

Instance methods inherited from class Tasker::Task

<=>(other) <=>, ==(other) ==, cancel(msg = "Task canceled") : Nil cancel, created : Time created, each(&) each, get get, last_scheduled : Time | Nil last_scheduled, next_epoch next_epoch, next_scheduled : Time | Nil next_scheduled, resume resume, schedule schedule, trigger trigger, trigger_count : Int64 trigger_count

Constructor methods inherited from class Tasker::Task

new new

Constructor Detail

def self.new(cron, location : Time::Location, &block : -> R) #

[View source]

Instance Method Detail

def location : Time::Location #

[View source]
def location=(location : Time::Location) #

[View source]
def next_scheduled : Time | Nil #

[View source]
def schedule #

[View source]