discourse/app/jobs/scheduled/directory_refresh_daily.rb

10 lines
162 B
Ruby

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