Problem with inactive user cleanup job

I realized that many of my inactive users has not been cleaned yet. So I checked those users and the code.
Those users dont have any time for last_seen_at. So I think in the following line:

they are not detected and cleaned. Am I right? And what can I do?

How did those users get created?

I think they are created via api and never actually see the forum.

Yes this job is certainly not going to touch these outlier records, I guess maybe update them to have last_seen_at

1 Like

Is there a console command to add a default last_seen_at value?