mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 05:33:44 +08:00
11 lines
136 B
Ruby
11 lines
136 B
Ruby
|
module Jobs
|
||
|
class PurgeInactive < Jobs::Scheduled
|
||
|
every 1.day
|
||
|
|
||
|
def execute(args)
|
||
|
User.purge_inactive
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
|