background-worker.rb 279 B

12345678910
  1. #!/usr/bin/env ruby
  2. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  3. dir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
  4. Dir.chdir dir
  5. require 'bundler'
  6. require File.join(dir, 'config', 'environment')
  7. BackgroundServices::Cli.start(ARGV)