module Runway::Common

Defined in:

runway/lib/common.cr

Class Method Summary

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.


[View source]