struct
JoobQ::Scheduler::CronJob
- JoobQ::Scheduler::CronJob
- Struct
- Value
- Object
Defined in:
joobq/scheduler.crConstructors
Instance Method Summary
- #block : Proc(Nil)
- #clone
- #copy_with(pattern _pattern = @pattern, timezone _timezone = @timezone, next_run _next_run = @next_run, block _block = @block)
- #next_run(next_time : Time)
- #next_run : String
- #pattern : String
- #timezone : Time::Location
- #to_h
Constructor Detail
def self.new(pattern : String, timezone : Time::Location, next_run : String, block : Proc(Nil))
#
Instance Method Detail
def copy_with(pattern _pattern = @pattern, timezone _timezone = @timezone, next_run _next_run = @next_run, block _block = @block)
#