lib/sensu/client/process.rb
# Schedule check executions. This method iterates through defined
# checks and uses the appropriate method of check execution
# scheduling, either with the cron syntax or a numeric interval.
#
# @param checks [Array] of definitions.
Schedule check executions. This method iterates through defined
checks and uses the appropriate method of check execution
scheduling, either with the cron syntax or a numeric interval.
Schedule check executions . This method iterates through defined checks and uses the appropriate method of check execution scheduling either with the cron syntax or a numeric interval .
def schedule_checks(checks)
        checks.each do |check|
          if check[:cron]
            schedule_check_cron_execution(check)
          else
            schedule_check_interval_executions(check)
          end
        end
      end
def schedule_checks ( checks ) checks . each do | check | if check [ :cron ] schedule_check_cron_execution ( check ) else schedule_check_interval_executions ( check ) end end end
Schedule check executions.
Schedule check executions .
checks
None