Feature #32651

Recycler: add scheduler task to delete deleted items

Added by Simon Schaufelberger almost 8 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Recycler
Target version:
-
Start date:
2011-12-17
Due date:
% Done:

100%

PHP Version:
5.3
Tags:
Complexity:
medium
Sprint Focus:

Description

I didn't find any recycler project here on forge so i am posting it here.

I would like to have a recycler task that will delete all the deleted data in the db (maybe configureable for which tables (in a comma seperated list or so): all OR tt_content,pages,...


Related issues

Duplicated by TYPO3 Core - Feature #60223: Scheduler task to remove deleted records from DB Closed 2014-07-10

Associated revisions

Revision d6a30b05 (diff)
Added by Philipp Bergsmann over 4 years ago

[FEATURE] Add scheduler task to remove deleted records

Scheduler task to remove deleted records from
content table(s) which are older than x days.

If a deleted record also contains an upload field,
then the file is also deleted.

Releases: master
Resolves: #32651
Change-Id: I58577c05a1a3b228579c05578cc8fdf2e3b393fa
Reviewed-on: http://review.typo3.org/9013
Reviewed-by: Markus Klein <>
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Oliver Hader almost 8 years ago

  • Category set to Recycler
  • Status changed from New to Accepted
  • Target version set to 4.7.0-alpha3
  • PHP Version set to 5.3

Added recycler as category now. You can have a look in the folder "tasks" of the system extension "reports" to see how this is done.

The task configuration could then have:
  • checkbox "consider all tables"
  • multiple checkbox or selector showing all available TCA tables

#2 Updated by Helmut Hummel almost 8 years ago

The cli_lowlevel script is already able to do such a thing

But it would of course be nice to have all these cli scripts also as scheduler tasks.

#3 Updated by Philipp Bergsmann almost 8 years ago

I started implementing this feature and found the scheduler-task "Table garbage collection" from the scheduler ext which only cleans the sys_log by now. Should the recycler garbage-collector be included in the recycler ext or should that be joined with the scheduler-task?

#4 Updated by Simon Schaufelberger almost 8 years ago

I would prefer a separated and new task for that since they do different things.

#5 Updated by Steffen Ritter over 7 years ago

  • Target version changed from 4.7.0-alpha3 to 4.7.0-beta1

#6 Updated by Simon Schaufelberger over 7 years ago

@Philipp: status? Tomorrow is start of beta1 !

#7 Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9013

#8 Updated by Philipp Bergsmann over 7 years ago

i didn't want to push it, until i could test it on some staging server, but probably someone else could do that? :)

#9 Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9013

#10 Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9013

#11 Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9013

#12 Updated by Gerrit Code Review over 7 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9013

#13 Updated by Gerrit Code Review over 7 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9013

#14 Updated by Gerrit Code Review over 7 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9013

#15 Updated by Gerrit Code Review over 7 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9013

#16 Updated by Steffen Ritter over 7 years ago

  • Target version deleted (4.7.0-beta1)

#17 Updated by Gerrit Code Review over 7 years ago

Patch set 9 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9013

#18 Updated by Gerrit Code Review about 6 years ago

Patch set 10 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9013

#19 Updated by Gerrit Code Review about 6 years ago

Patch set 11 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9013

#20 Updated by Gerrit Code Review about 6 years ago

Patch set 12 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9013

#21 Updated by Gerrit Code Review about 6 years ago

Patch set 13 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/9013

#22 Updated by Gerrit Code Review over 4 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/9013

#23 Updated by Gerrit Code Review over 4 years ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/9013

#24 Updated by Gerrit Code Review over 4 years ago

Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/9013

#25 Updated by Gerrit Code Review over 4 years ago

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/9013

#26 Updated by Gerrit Code Review over 4 years ago

Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/9013

#27 Updated by Gerrit Code Review over 4 years ago

Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/9013

#28 Updated by Gerrit Code Review over 4 years ago

Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/9013

#29 Updated by Gerrit Code Review over 4 years ago

Patch set 21 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/9013

#30 Updated by Philipp Bergsmann over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#31 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF