Autobot::Cron::CronJob
Inherits JSON::Serializable < Reference < Object
A scheduled job.
Constructors
new(id : String, name : String, enabled : Bool = true, schedule : Autobot::Cron::CronSchedule = CronSchedule.new(kind: ScheduleKind::Every), payload : Autobot::Cron::CronPayload = CronPayload.new, state : Autobot::Cron::CronJobState = CronJobState.new, created_at_ms : Int64 = 0_i64, updated_at_ms : Int64 = 0_i64, delete_after_run : Bool = false, owner : String | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
created_at_ms
Sourcedelete_after_run?
Sourceenabled?
Sourceid
Sourcename
Sourceowner
Sourcepayload
Sourcepayload=(payload : CronPayload)
Sourceschedule
Sourceschedule=(schedule : CronSchedule)
Sourcestate
Sourcestate=(state : CronJobState)
Sourceupdated_at_ms
Source