summaryrefslogtreecommitdiff
path: root/app/workers/environments/auto_stop_cron_worker.rb
blob: ada52d3402d3d445ad13dbcbaf33c2b3bf0f3e94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Environments
  class AutoStopCronWorker # rubocop:disable Scalability/IdempotentWorker
    include ApplicationWorker
    include CronjobQueue # rubocop:disable Scalability/CronWorkerContext

    feature_category :continuous_delivery

    def perform
      AutoStopService.new.execute
    end
  end
end