Autobot::Cron::ScheduleBuilder
Builds a CronSchedule from user-provided parameters. Shared by both CronTool and CLI to avoid schedule construction duplication.
Constants
MIN_INTERVAL_SECONDS = 1
Class methods
build(every_seconds : Int64 | Nil, cron_expr : String | Nil, at : String | Nil, now : Time = Time.utc) : Tuple(CronSchedule, Bool) | Nil
Build a schedule from raw parameters. Returns {schedule, delete_after_run} or nil if no schedule params given. Raises on validation errors (invalid interval, bad time format).