2018-06-27から1日間の記事一覧
元々のコード module Batch class Sample def execute background_job_history = BackgroundJobHistory.start begin # 実処理 background_job_history.finish(error: false) rescue => e background_job_history.finish(error: true) end end end end こうい…