class Chronos
- Chronos
- Reference
- Object
Overview
TODO Write documentation for Chronos
Defined in:
chronos.crchronos/onetimetask.cr
chronos/periodictask.cr
chronos/recurringtask.cr
chronos/task.cr
Constant Summary
-
LOG_FORMATTER =
Log::Formatter.new do |entry, io| (((((io << (entry.timestamp.to_s("%Y/%m/%d %T %:z"))) << " [") << entry.source) << "/") << Process.pid) << "] " ((io << entry.severity) << " ") << entry.message end
-
VERSION =
"0.1.1"
Constructors
Instance Method Summary
- #at(run_time : Time, &block) : Task
- #delete_at(id : String) : Bool
- #every(period : Time::Span, start_time : Time, &block) : Task
- #every(period : Symbol, time : NamedTuple, &block) : Task
- #every(period : Time::Span, &block) : Task
- #in(span : Time::Span, &block) : Task
- #location : Time::Location
- #location=(location : Time::Location)
- #log : Log
- #log=(log : Log)
- #run : Nil
- #running : Bool
- #tasks : Array(Task)