Skip to content

Commit

Permalink
feat: make the command schedulable (#11)
Browse files Browse the repository at this point in the history
The formratelimit:cleanupexpiredstorageentries command can now be run from the TYPO3 scheduler.
  • Loading branch information
RKlingler authored Nov 11, 2024
1 parent 47da5d9 commit 3f44cf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Configuration/Services.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
->tag('console.command', [
'command' => 'formratelimit:cleanupexpiredstorageentries',
'description' => 'Clean up expired storage entries of form_rate_limit extension',
'schedulable' => false,
]);

$services->set(PreventLanguagePackDownload::class)
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Command/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ can call it on the console with:
typo3/sysext/core/bin/typo3 formratelimit:cleanupexpiredstorageentries
You can add a cron job to run regularly.
To run the command regularly you can add a cron job or run it from the TYPO3 scheduler.

0 comments on commit 3f44cf6

Please sign in to comment.