Delete Spam Daily

Uses wp_cron to delete comments each day that are marked “spam” in the database.

Author:Brock Angelo (profile at wordpress.org)
WordPress version required:2.1.0
WordPress version tested:2.7.1
Plugin version:1.0.2
Added to WordPress repository:25-05-2009
Last updated:28-05-2009
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://brockangelo.com/wordpress/plugins/dele...
Total downloads:8 628
Active installs:100+
plugin download
Click to start download

This plugin schedules a daily event using wp_cron that deletes all comments marked "spam" in the database, then optimizes the comments table.

Brief reason why I made such a low-tech plugin:

Akismet catches all the spam, but when I was looking at the size of my backups one day, I noticed that there were large numbers of comment spam across several sites that were undeleted and they made the databases fairly large. So I setup a cron job on my server that deletes the spam.

Since I had never written a plugin, I thought this might be helpful for those who do not have a dedicated server, shell access to their site, or the knowledge of (or interest in ) cron to set this up.

Spam is not deleted until you start the schedule after the plugin is activated. I created buttons to start and stop the schedule if you need that layer of control. There is also a button for deleting all spam manually.


Screenshots
FAQ
ChangeLog