discourse/app/jobs/scheduled/directory_refresh_daily.rb

12 lines
193 B
Ruby

# frozen_string_literal: true
module Jobs
class DirectoryRefreshDaily < Jobs::Scheduled
every 1.hour
def execute(args)
DirectoryItem.refresh_period!(:daily)
end
end
end