About Cronjob Empty Trash

Auto delete trashed pages sustainably after a predifined period of time set in module settings. This cronjob will run once per day.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Development Tools
Modules that have more to do with assisting development of a site rather than managing its content.
Category 3Proof of Concept
Proof of concept modules are designed as examples or starting points for others to build from. May not be ideal for users wanting to plug-n-play.
Category 4Other Modules
Modules that have a unique purpose not covered by existing categories.
Release StateStable
Should be safe for use in production environments. *
Authorkixe
Module Version1.0.3
Class NameCronjobEmptyTrash
Compatibility2.5, 2.6, 2.7, 3.0
Date AddedNovember 5, 2014
Last UpdatedDecember 7, 2016
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/CronjobEmptyTrash/
How to install or uninstall modules

README

CRONJOB EMPTY TRASH

Auto delete trashed pages sustainably after a predifined period of time set in module settings.
This cronjob will run once per day.

This cronjob (hooks on LazyCron) is executed by a call to module: ProcessPageView.
By default this module runs only if current user has page-delete permission.
Can be triggered globally too.
Each run of the cronjob is logged in assets/logs/ messages.txt

Settings

  • Deletion Deadline
    Select a period of time pages will remain untouched in the trash.

  • Global trigger
    Check this to trigger this cronjob by every user (guest)

Require

LazyCron.module

License

GNU-GPLv3

Author

kixe (Christoph Thelen)

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.