[FEATURE] Introduce scheduler task to execute console commands
This commit introduces a task that is similar to the extbase task that can run command controllers via the scheduler. Since TYPO3 8.7 LTS, a lot of command controllers have already been migrated to symfony console commands, which is breaking considering the fact that the command controllers could have been registered as scheduler tasks. Therefore TYPO3 needs a way to dispatch regular console commands via the scheduler. This will be achieved by introducing a new task provided by the scheduler extension which provides a safe migration path for tx_scheduler records. Resolves: #82390 Resolves: #79462 Releases: master Change-Id: Ie488a3d46965a3dafbd649ab5d432ca14d09a25e Reviewed-on: https://review.typo3.org/54104 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Sebastian Fischer <typo3@evoweb.de> Reviewed-by:
Joerg Boesche <typo3@joergboesche.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Henning Liebe <h.liebe@neusta.de> Reviewed-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de> Tested-by:
Stefan Neufeind <typo3.neufeind@speedpartner.de> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/Console/CommandRegistry.php 26 additions, 1 deletiontypo3/sysext/core/Classes/Console/CommandRegistry.php
- typo3/sysext/core/Classes/Console/UnknownCommandException.php 25 additions, 0 deletions...3/sysext/core/Classes/Console/UnknownCommandException.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-79462-IntroduceSchedulerTaskToExecuteConsoleCommand.rst 23 additions, 0 deletions...e-79462-IntroduceSchedulerTaskToExecuteConsoleCommand.rst
- typo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php 34 additions, 0 deletionstypo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php
- typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandAdditionalFieldProvider.php 331 additions, 0 deletions...Task/ExecuteSchedulableCommandAdditionalFieldProvider.php
- typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandTask.php 129 additions, 0 deletions.../scheduler/Classes/Task/ExecuteSchedulableCommandTask.php
- typo3/sysext/scheduler/Resources/Private/Language/locallang.xlf 15 additions, 0 deletions...sysext/scheduler/Resources/Private/Language/locallang.xlf
- typo3/sysext/scheduler/ext_localconf.php 8 additions, 0 deletionstypo3/sysext/scheduler/ext_localconf.php
Please register or sign in to comment