Feature #87451

Allow execution of multiple scheduler tasks in command line

Added by Alexander Stehlik almost 2 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2019-01-15
Due date:
% Done:

100%

PHP Version:
7.2
Tags:
Complexity:
easy
Sprint Focus:

Description

The Scheduler currently executes multiple task in one call which might lead to side effects between tasks when they change global state (like EXT:solr by initializing a TSFE with a different language).

To make debugging of those side effects easier it would be helpful to pass multiple task UIDs to the scheduler command that are executed subsequently.

Associated revisions

Revision 69ea6509 (diff)
Added by Alexander Stehlik 9 months ago

[FEATURE] Allow multiple task options in scheduler command

The --task option (short -i) can now be provided multiple
times to the scheduler command.

The given task UIDs are executed or stopped sequentially.

Example call:

./bin/typo3 scheduler:run --task 3 --task 2

Additionally some debug output is added when the -v or -vv flags
are provided.

Resolves: #87451
Releases: master
Change-Id: I6e1555c456d8c0f35395ca40c0a303628ddf5acf
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59452
Tested-by: TYPO3com <>
Tested-by: Jörg Bösche <>
Tested-by: Benni Mack <>
Reviewed-by: Jörg Bösche <>
Reviewed-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review almost 2 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/59452

#2 Updated by Gerrit Code Review almost 2 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59452

#3 Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59452

#4 Updated by Gerrit Code Review over 1 year ago

Patch set 4 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/+/59452

#5 Updated by Gerrit Code Review over 1 year ago

Patch set 5 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/+/59452

#6 Updated by Gerrit Code Review over 1 year ago

Patch set 6 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/+/59452

#7 Updated by Gerrit Code Review 10 months ago

Patch set 7 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/+/59452

#8 Updated by Gerrit Code Review 10 months ago

Patch set 8 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/+/59452

#9 Updated by Gerrit Code Review 10 months ago

Patch set 9 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/+/59452

#10 Updated by Gerrit Code Review 10 months ago

Patch set 10 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/+/59452

#11 Updated by Alexander Stehlik 9 months ago

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

#12 Updated by Benni Mack 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF