5 votes

Recycle Bin Manager

If you have a site that handles an extensive amount of content node data resulting in your recycle bin becoming large, then this simple package can assist in keeping the Recycle Bin at a manageable level.

Whilst the Recycle Bin does not impact on the performance of the site per se, I thought this a useful piece of functionality to help keep the database up to date as much as possible with respect to content.

The package uses a mix of the Umbraco scheduled task functionality and Rest Extensions (with some configuration options) so that you can "set and forget" it on your site and the amount of data in your Recycle Bin will be automatically managed for you.

To achieve the deletions I have used a mix of SQL (to get items in the recycle bin) and Umbraco API functionality (to delete items). There are posts about achieving this via SQL alone, however there is a real  risk to the integrity of the data within the database doing it this way.

The rest extension is configured to take the following 2 parameters.

  • Number of items to delete at a time
  • Number of days items are in the recycle bin before being deleted.

 

If you find this package useful please add your vote - it helps me to know it is being used and found useful, and therefore continued development is justified. Cheers

Release 1.1 - BUG Fix
The number of days delay was not being subtracted from the current date.

If you have previously installed this package, then to update your site simply download the package and drop the dll files into your site. There is no need to install the package.

Screenshots

Package owner

Nigel Wilson

Nigel Wilson

Nigel has 2006 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
8.3.x (untested)
8.2.x (untested)
8.1.x (untested)
8.0.x (untested)
7.15.x (untested)
7.14.x (untested)
7.13.x (untested)
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Nigel Wilson
  • Created: 06/03/2013
  • Current version 1.0
  • License MIT
  • Downloads: 1391