rosa-build/app/jobs/autostart_builds_daily_job.rb

8 lines
210 B
Ruby
Raw Normal View History

2016-05-28 19:21:02 +01:00
class AutostartBuildsDailyJob < BaseActiveRecordJob
include Sidekiq::Worker
2016-05-22 16:54:18 +01:00
2016-05-28 19:21:02 +01:00
def perform_with_ar_connection
2016-05-22 16:54:18 +01:00
Product.autostart_iso_builds_once_a_day
Project.autostart_build_lists_once_a_day
end
end