Why so long until next time to delete unverified users?

Ticket for: User Verification
0
Why so long until next time to delete unverified users? 1
Greg Thompson
Mar 07, 2024 04:16 AM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

Hello,

I set the plugin to delete unverified users every day and the interval is every 12 hours. So why does my next scheduled delete time show as 2 days from now? I need this to delete the unverified users every day and would like to even have an option to delete all of them right now instead of waiting. But it says the next scheduled time is the 8th, which is 2 days from now. Why?

I am unable to attach my screenshot.

Under Tools, my options are set to:

Delete unverified users: Yes

Delay: 720

Delete interval: Daily

So these settings should delete unverified users once per day, correct? Then why does it show my next delete time as being 2024-03-08 01:54:44 ?

 

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Why so long until next time to delete unverified users? 2
Azizul Raju
Mar 09, 2024
Flag(0)

Hi Greg,
Thanks for reaching out.

While it might seem like a quick solution, WordPress actually recommends against it, especially if you have a large number of unverified users. Doing so could potentially cause unintended consequences.

Long time display issue:
1. First, ensure you've set the correct timezone for your WordPress installation. You can find this setting by following the steps in this screenshot: https://ibb.co/H2vqt2x

2. Set the "Delete Unverified Users" option to "No" and save the changes. Screenshot: https://ibb.co/3dL4Myt

3. Now again set the option to "Yes" and select a daily interval. Save your changes again. Screenshot: https://ibb.co/GVhGVH7

Important: Even with scheduled deletion, the displayed time might be inaccurate initially. After saving your settings, reload the page, and the schedule time should adjust automatically. 

Screenshot:
https://ibb.co/D9kzwSS

Why so long until next time to delete unverified users? 3
isleofgreg
- Mar 13, 2024 03:51 AM
Flag (0)
0

Ok I did as you suggested and downloaded Advanced Cron Manager and I did see the task called “user_verification_delete_unverified_user” which was set to execute in about an hour like I had expected (even though the plugin said next execution was tomorrow, the cron manager said in about 1 hour, which was actually correct) – So then I manually executed it. It said it was done, so I went to my user list and still had 1600+ users. It did not appear to do anything.

Why so long until next time to delete unverified users? 3
isleofgreg
- Mar 13, 2024 03:46 AM
Flag (0)
0

And what’s more is that I have over 100 new spam users more than I had yesterday. Now there are over 1600 users when yesterday there was 1500. Most of these are spam. Only about 800 are real users.

Why so long until next time to delete unverified users? 3
isleofgreg
- Mar 13, 2024 03:45 AM
Flag (0)
0

I logged in today to see what it had done and expected to see the task should happen within the next 2 hours since it had been almost 24 hours since I reset the setting. But now I log in and it says this: Next schedule 2024-03-13 05:10:43

That is tomorrow!!

4+ more comments. Sign in to Reply
Replying as Submit