1 2 3 4 5 6 7 8 9 10
# frozen_string_literal: true class RemoveExpiredGroupLinksWorker include ApplicationWorker include CronjobQueue def perform ProjectGroupLink.expired.destroy_all end end