struct JoobQ::Scheduler::CronJob

Defined in:

joobq/scheduler.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pattern : String, timezone : Time::Location, next_run : String, block : Proc(Nil)) #

[View source]

Instance Method Detail

def block : Proc(Nil) #

def clone #

[View source]
def copy_with(pattern _pattern = @pattern, timezone _timezone = @timezone, next_run _next_run = @next_run, block _block = @block) #

[View source]
def next_run(next_time : Time) #

[View source]
def next_run : String #

def pattern : String #

def timezone : Time::Location #

def to_h #

[View source]