discourse/app/jobs/scheduled/purge_inactive.rb

10 lines
138 B
Ruby

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