Issue Feature Rejected

#107575Allow execution of "ad-hoc" tasks

Garvin Hicking 10/01/25, 07:37 updated 10/17/25, 11:51

Description

Now that tasks are easily serializable, the CLI “scheduler:execute” is able to execute ad-hoc tasks.

Reviews 1

History 28

  1. Garvin Hicking commented and changed status Under Review Rejected <span data-processor="relativetime" data-value="2025-10-17T11:51:07+00:00" > 10/17/25, 11:51 </span>

    See gerrit:

    I’ve received feedback that the ideal way to proceed with this is:

    - Migrate the logic of all TYPO3 Core Tasks into Service classes
    - Add a Symfony CLI Command to execute the logic from the service class, using Symfony CLI options
    - Adjust the Native Task to run logic from the Service class, using TCA options

    This would be the clean approach, but maybe not the pragmatic one. Due to this I’ve extracted this as a third-party extension:

    https://github.com/garvinhicking/typo3-adhoc-tasks/

    I am abandoning this patch because I feel this will not gain traction here, and I understand and support the reasoning. However, this also means: More work. :-D