Task #86089
closedDocument scheduler tasks based on symfony
100%
Description
The ext:scheduler documentation has no mention of scheduler tasks based on symfony commands, but the core supports this since a while and even provides settings around that topic.
Updated by Anja Leichsenring about 6 years ago
- Related to Feature #85991: Allow symfony commands to be non-schedulable added
Updated by Sybille Peters almost 5 years ago
Creating Symfony command controllers is documented in "TYPO3 Explained": https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/CommandControllers/Index.html
This also includes information about how to run the command from the command line and from the scheduler.
Perhaps it is helpful to link to this documentation in the scheduler docs (for now).
(As often), it is not so easy to decide, what should be in the system extension docs and what in the core manuals, but I would suggest to put the programming related things in "TYPO3 Explained", add links to the sysext docs and vice versa.
What is currently not clear to me: when to use scheduler tasks (TYPO3\CMS\Scheduler\Task\AbstractTask), when to use command controllers (\Symfony\Component\Console\Command\Command). Both can be executed from the command line, both can be executed in the scheduler. Why do we have 2? Will the functionality eventually get merged? (Personally, I have been using command controllers only recently).
I would love to help with the documentation but since I have too many open questions myself at the moment, probably not a good idea.
Updated by Susanne Moog over 4 years ago
- Related to Epic #85990: Extbase CommandControllers vs. Symfony/Console Integration added
Updated by Susanne Moog over 4 years ago
@Sybille: See the epic #85990 - preferred would be symfony commands only, so when documenting, we should remove any info about the old way and only add a crosslink to the docs you pointed to.
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63600
Updated by Susanne Moog over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 27877c160ad3a81f2add3fce18fdc55b8a1df189.