pdvend/kronos

View on GitHub
lib/kronos.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require 'concurrent'
require 'chronic'
require 'erb'
require 'ostruct'
require 'forwardable'

require 'kronos/config_agent'
require 'kronos/dependencies'
require 'kronos/exception'
require 'kronos/logger'
require 'kronos/report'
require 'kronos/runner'
require 'kronos/scheduled_task'
require 'kronos/storage'
require 'kronos/task'
require 'kronos/version'
require 'kronos/web'

module Kronos
  @config_agent = Kronos::ConfigAgent.new

  module_function

  def config
    @config_agent
  end

  def start
    @config_agent.runner_instance.start
  end
end