struct Config

Included Modules

Defined in:

config.cr

Constant Summary

INSTANCE = File.open(ENV.fetch("CONFIG", "/etc/webcron/config.yml")) do |file| Config.from_yaml(file) end

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(jobs : Array(Job)) #

[View source]

Class Method Detail

def self.jobs #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(jobs _jobs = @jobs) #

[View source]
def jobs : Array(Job) #