class Scron::Command
- Scron::Command
- Reference
- Object
Overview
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
Defined in:
scron/command.crConstant Summary
-
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")