huginn/bin/agent_runner.rb
Dominik Sander 991777ca29 Background worker load Dotenv if APP_SECRET_TOKEN is not set
Unified background worker initialization into pre_runner_boot

Set Rails.configuration.cache_classes = true for background workers
2015-08-23 16:58:44 +02:00

9 lines
No EOL
349 B
Ruby

#!/usr/bin/env ruby
# This process is used to maintain Huginn's upkeep behavior, automatically running scheduled Agents and
# periodically propagating and expiring Events. It also running TwitterStreamAgents and Agents that support long running
# background jobs.
require_relative './pre_runner_boot'
AgentRunner.new(except: DelayedJobWorker).run