#107575Allow execution of "ad-hoc" tasks
Description
Now that tasks are easily serializable, the CLI “scheduler:execute” is able to execute ad-hoc tasks.
Reviews 1
Related issues 1
History 28
-
Garvin Hicking changed Related to #106532 <span data-processor="relativetime" data-value="2025-10-01T07:37:15+00:00" > 10/01/25, 07:37 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 90852 status
NewUnder Review <span data-processor="relativetime" data-value="2025-10-01T08:05:53+00:00" > 10/01/25, 08:05 </span> -
Gerrit Code Review pushed patch set 2 for main to change 90852 <span data-processor="relativetime" data-value="2025-10-01T08:21:30+00:00" > 10/01/25, 08:21 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 90852 <span data-processor="relativetime" data-value="2025-10-04T08:22:50+00:00" > 10/04/25, 08:22 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 90852 <span data-processor="relativetime" data-value="2025-10-04T19:50:58+00:00" > 10/04/25, 19:50 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 90852 <span data-processor="relativetime" data-value="2025-10-04T20:24:23+00:00" > 10/04/25, 20:24 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 90852 <span data-processor="relativetime" data-value="2025-10-04T21:01:34+00:00" > 10/04/25, 21:01 </span>
-
Garvin Hicking commented and changed status
Under ReviewRejected <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