BuddyDev

Search

[Resolved] Can I manually run your BP notifications cleanup plugin?

  • Participant
    Level: Enlightened
    Posts: 31
    Dale Reardon on #22435

    Hi,
    I’m using the BP auto clean notifications plugin you created but my notifications have got out of control – my host says over 1.2 million in DB.

    Is there a manually run the cleanup immediately to start afresh?

    Thanks,
    Dale.

  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    Brajesh Singh on #22436

    Hi Dale,
    Please install https://wordpress.org/plugins/wp-crontrol/

    and check if the cron jobs are set and running from the plugin. The task to search is ‘bp_auto_clear_notifications_cleanup_task’

    If it is not schedule, Please schedule it(deactivating/activating can auto schedule it). Also, you can manually trigger the cron job using the above plugin.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 31
    Dale Reardon on #22440

    Thankyou very much.
    I did that and the Cron task was indeed missing so fixed that.

    Now for a wish list – add as a plugin setting to adjust the number of days before clearing notifications and also a button to clear all notifications from database.

    Thanks,
    Dale.

  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    Brajesh Singh on #22456

    Hi Dale,
    Thank you for the suggestions.

    It will be must simpler to truncate the notifications and notification meta table to remove all notifications.

    We can certainly add the option for number of days(currently it is 30). I will add to our feature list for upcoming release.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved