Scron::Command
Inherits Reference < Object
Entrypoint for program via Scron::Command#run. Responsibilities include:
- option parsing
- printing errors to user
- start running jobs -- delegated to
Scron::Runner - start editing jobs
Constants
EDITOR = ENV.fetch("editor", "vi")
HISTORY_FILE = File.join(ENV["HOME"], ".scrondb")
LOG_FILE = File.join(ENV["HOME"], ".scronlog")
SCHEDULE_FILE = File.join(ENV["HOME"], ".scron")
Constructors
new(args : Array(String) = ARGV, io : IO = STDOUT)
SourceInstance methods
run
Source