[FEATURE] Introduce scheduler task to execute console commands 04/54104/14
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Sun, 10 Sep 2017 15:17:08 +0000 (17:17 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 27 Nov 2017 22:25:44 +0000 (23:25 +0100)
commitd1fb91bf85e3a0b42b832fa590fb5f11e3ddc328
tree45d690a615b212f76da0e3ec0b8e7823f0b8aae7
parent08370e2fc7e6c9040a6c1473c38a731bf131aad7
[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>
typo3/sysext/core/Classes/Console/CommandRegistry.php
typo3/sysext/core/Classes/Console/UnknownCommandException.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-79462-IntroduceSchedulerTaskToExecuteConsoleCommand.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php
typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandAdditionalFieldProvider.php [new file with mode: 0644]
typo3/sysext/scheduler/Classes/Task/ExecuteSchedulableCommandTask.php [new file with mode: 0644]
typo3/sysext/scheduler/Resources/Private/Language/locallang.xlf
typo3/sysext/scheduler/ext_localconf.php