# frozen_string_literal: true module Cron # # Clean up Audit Logs that have not been updated in 90 days # class TrimCronServers < TrimCollection # # Fetch each Audit Log and delete it if hasn't been updated in 90 days # def collection Cron::Server.all end # # Check if the cron job server hasn't reported in a while # def archive?(item) item.dead? end end end