lib/job_runner/runner.rb
# The list of known job configurations. Calling {#run} will execute these
# jobs according to their schedules. Add new configurations to this list by
# calling {.add_config} aka {.add_configuration}.
#
# @return [Array<JobRunner::JobConfiguration>]
#
The list of known job configurations. Calling {#run} will execute these
jobs according to their schedules. Add new configurations to this list by
calling {.add_config} aka {.add_configuration}.
The list of known job configurations . Calling { #run } will execute these jobs according to their schedules . Add new configurations to this list by calling { . add_config } aka { . add_configuration } .
def run
      log_beginning_to_run_message
      self.class.configurations.each do |configuration|
        log_running_configuration_message(configuration)
        configuration.clean_up_timeouts
        configuration.run_if_needed
      end
      log_finished_run_message
    end
def run log_beginning_to_run_message self . class . configurations . each do | configuration | log_running_configuration_message ( configuration ) configuration . clean_up_timeouts configuration . run_if_needed end log_finished_run_message end
The list of known job configurations.
The list of known job configurations .
None
Array<JobRunner::JobConfiguration>