discourse/app/jobs/scheduled/purge_inactive.rb

11 lines
136 B
Ruby

module Jobs
class PurgeInactive < Jobs::Scheduled
every 1.day
def execute(args)
User.purge_inactive
end
end
end