struct

Autobot::Cron::CronSchedule

Inherits JSON::Serializable < Struct < Value < Object

Schedule definition for a cron job.

Constructors

new(kind : ScheduleKind, at_ms : Int64 | Nil = nil, every_ms : Int64 | Nil = nil, expr : Nil | String = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

at_ms
Source
at_ms=(at_ms : Int64 | Nil)
Source
every_ms
Source
every_ms=(every_ms : Int64 | Nil)
Source
expr
Source
expr=(expr : String | Nil)
Source
kind
Source
kind=(kind : ScheduleKind)
Source