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
|