huginn/bin/schedule.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

8 lines
No EOL
313 B
Ruby
Executable file

#!/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's typically run via foreman and the included Procfile.
require_relative './pre_runner_boot'
AgentRunner.new(only: HuginnScheduler).run