Project

General

Profile

Actions

Task #86089

closed

Document scheduler tasks based on symfony

Added by Anja Leichsenring over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
2018-09-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #85991: Allow symfony commands to be non-schedulableClosedBenni Mack2018-08-27

Actions
Related to TYPO3 Core - Epic #85990: Extbase CommandControllers vs. Symfony/Console IntegrationClosed2018-08-27

Actions
Actions #1

Updated by Anja Leichsenring over 5 years ago

  • Related to Feature #85991: Allow symfony commands to be non-schedulable added
Actions #2

Updated by Sybille Peters about 4 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.

Actions #3

Updated by Susanne Moog about 4 years ago

  • Related to Epic #85990: Extbase CommandControllers vs. Symfony/Console Integration added
Actions #4

Updated by Susanne Moog about 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.

Actions #5

Updated by Gerrit Code Review about 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

Actions #6

Updated by Susanne Moog about 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF