I have installed 6.x-1.x-dev and 1.0-beta and am having the same issue.

Intall module -> give myself (admin) permission to edit setting -> edit the settings to block user after x time -> run cron manually -> existing users who have been inactive for longer than x time remain active, and no changes are made to db

The strange thing is, I ran this module on friday and it worked once. I have since reinstalled it, turned off/back on, etc. and now nothing.

Please help!

Comments

survivestyle’s picture

Assigned: survivestyle » Unassigned
survivestyle’s picture

Title: Nothing Happens on Cron » Nothing Happens on Cron [UPDATED]

Figured out the issue. Don't have a technical fix, just a diagnosis.

The module will not fire if ONLY the Block User is enabled. A warning must be enabled otherwise nothing will be written to the DB, and no notifications sent.

deekayen’s picture

Status: Needs review » Active

Needs review implies there's a patch to look at.

edwardmonk’s picture

I am having the same problem. I activated the message notification and no accounts are changed. Same versions, etc.
Any other ideas on what to look at?

jmomandown’s picture

I confirm the same issue with the 7.x branch.

Summary:

Administrator Email: Complete
Notify administrator when a user hasn't logged in for more than: Disabled
Notify users when they haven't logged in for more than: 1 month
Block users that haven't logged in for more than: disabled
Warn users before they are blocked: disabled
Delete users that haven't logged in for more than: 3 months
Warn users before they are deleted: 1 week

Issue: Upon running cron, db tables are not updated and emails are not sent out per the log files or dummy user accounts. Note that the users are all "active" accounts which have been inactive in participation / login.

Rugman’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Hi,

Same happening with my installation, Nothing is done - Neither on blocked user to delete them nor on inactive accounts to block them.

Please help if I have done any settings wrong.

Thanks

Rugman

Rugman’s picture

Issue summary: View changes

Updated spelling error

whitefluffy’s picture

Priority: Major » Critical
Issue summary: View changes

I'm having the same issues as stated above. I get some activity in the inactive_users table but it's inconsistent and I cant figure out any real patterns other than the one stated in comment #2. Too bad this module is not stable. It's exactly what I'm looking for. Unfortunately I'm not skilled enough to figure out how to fix it.

Changing priority to critical since core functionality of this module doesn't work as expected.

dxx’s picture

+1 for #7 :/

spammail’s picture

Any update on this?

I have 3k+ "spam" users that has signed up to my website. They are all marked as "blocked" because I had admin approval on, but after installing the plugin with delete after 1 month, and manually running the cron (and checking cron is enabled) there is still nothing happening.

Based on what is written in this thread I tried turning on both the warning and blocking and deletion, but still no result.

Is there a way to automatically trigger the prune other than running the cron from administration->configuration->system->cron ?