Skip to content
Snippets Groups Projects
Commit 6543aa31 authored by Stephan Bauer's avatar Stephan Bauer Committed by Christian Kuhn
Browse files

[DOCS] Fix scheduler garbage collection task example

Existing configuration should not be overwritten
when adding new table options.

Releases: master
Resolves: #95019
Change-Id: Ie45619e9539e055ef99af1d7cec8cb80b6ed8bde
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70802


Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 14061a95
Branches
Tags
No related merge requests found
...@@ -67,15 +67,13 @@ Example ...@@ -67,15 +67,13 @@ Example
:: ::
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask::class]['options']['tables'] = array( $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask::class]['options']['tables']['tx_realurl_errorlog'] = [
'tx_realurl_errorlog' => array( 'dateField' => 'tstamp',
'dateField' => 'tstamp', 'expirePeriod' => '180',
'expirePeriod' => '180' ];
), $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\TableGarbageCollectionTask::class]['options']['tables']['tx_realurl_uniqalias'] = [
'tx_realurl_uniqalias' => array( 'expireField' => 'expire',
'expireField' => 'expire' ];
)
);
The first part of the configuration indicates that records older than The first part of the configuration indicates that records older than
180 days should be removed from table :code:`tx_realurl_errorlog` , 180 days should be removed from table :code:`tx_realurl_errorlog` ,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment