module Runway::Common
Defined in:
runway/lib/common.crClass Method Summary
-
.cron?(schedule : String) : Bool
Determines if a schedule is a cron schedule or not.
Class Method Detail
def self.cron?(schedule : String) : Bool
#
Determines if a schedule is a cron schedule or not.
@param schedule [String] The schedule to check.
Example string: "*/5 * * * *" for every 5 minutes.
@return [Bool] true
if the schedule is a cron schedule, false
otherwise.