# Diverse vragen over het opschonen van een geïmporteerde vBulletin

**URL:** <https://meta.discourse.org/t/various-question-about-cleaning-up-an-imported-vbulletin/161643>\
**Category:** Product Support\
**Created:** [21 augustus 2020 om 09:29 UTC](https://meta.discourse.org/t/various-question-about-cleaning-up-an-imported-vbulletin/161643 "2020-08-21T09:29:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [21 augustus 2020 om 13:51 UTC](https://meta.discourse.org/t/various-question-about-cleaning-up-an-imported-vbulletin/161643/2 "2020-08-21T13:51:11Z")

</div>

> [@Canapin](#):
>
> I trigger **CleanUpInactiveUsers** Sidekiq job again.  
> I lost about 1000 users.

The job has a limit of 1000 per run, to avoid clogging the sidekiq queue

> <https://github.com/discourse/discourse/blob/106a2f58a2169dcd9a76d4ccb6d696a4c2364efc/app/jobs/scheduled/clean_up_inactive_users.rb#L17-L17>

You could run it from the rails console like

```plaintext
Jobs::CleanUpInactiveUsers.new.execute({})

```

And then put it in a loop like

```plaintext
100.times do 
  Jobs::CleanUpInactiveUsers.new.execute({})
  puts "Done iteration. Total user count #{User.count}"
end

```

> [@Canapin](#):
>
> Is it possible to trigger spam detection on existing users and messages, and clean all that up too?

What kind of spam detection were you thinking? Akismet?

---

_[View the full topic](https://meta.discourse.org/t/various-question-about-cleaning-up-an-imported-vbulletin/161643)._
