rosa-build/app/jobs/autostart_builds_once_every...

8 lines
235 B
Ruby

class AutostartBuildsOnceEveryTwelveHoursJob < BaseActiveRecordJob
include Sidekiq::Worker
def perform_with_ar_connection
Product.autostart_iso_builds_once_a_12_hours
Project.autostart_build_lists_once_a_12_hours
end
end