2016-05-28 19:21:02 +01:00
|
|
|
class AutostartBuildsOnceEveryTwelveHoursJob < 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_12_hours
|
|
|
|
Project.autostart_build_lists_once_a_12_hours
|
|
|
|
end
|
|
|
|
end
|