The job has a limit of 1000 per run, to avoid clogging the sidekiq queue
You could run it from the rails console like
Jobs::CleanUpInactiveUsers.new.execute({})
And then put it in a loop like
100.times do
Jobs::CleanUpInactiveUsers.new.execute({})
puts "Done iteration. Total user count #{User.count}"
end
What kind of spam detection were you thinking? Akismet?