# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/ class AppVersionRestartJob < ApplicationJob def perform(cmd) Rails.logger.info "executing CMD: #{cmd}" ::Kernel.system(cmd) Rails.logger.info "executed CMD: #{cmd}" end end