Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
JoobQ::Scheduler::CronJob
Inherits
Struct
<
Value
<
Object
Constructors
new
(pattern :
String
, timezone :
Time::Location
, next_run :
String
, block :
Proc
(
Nil
))
Source
Instance methods
block
clone
Source
copy_with
(pattern _pattern = @pattern, timezone _timezone = @timezone, next_run _next_run = @next_run, block _block = @block)
Source
next_run
(next_time :
Time
)
Source
next_run
pattern
timezone
to_h
Source