Feature #63703

Stop task from CLI

Added by Christian Weiske about 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2014-12-09
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When a scheduler task is marked as running, the -f CLI parameter does not actually run the task but skips it.

During development, it's often necessary to stop the script during a run, leaving the scheduler task in the "running" state, without a way to reset it on CLI. You always have to use the browser-based backen.

It would be helpful if there was a way to stop a running task via CLI.


Related issues

Related to TYPO3 Core - Feature #31073: Trigger execution of a specific task from CLI Closed 2011-10-18

Associated revisions

Revision 252504f4 (diff)
Added by Martin Tepper almost 5 years ago

[FEATURE] Refactoring of scheduler CLI

Refactoring of scheduler CLI. Move the biggest part of the old
scheduler_cli_dispatch.php to an own controller. Add a new parameter "s"
to stop a running scheduler task.

Change-Id: I88fff1aa9c9d1f4322c70a3ab3627e92ee059b63
Resolves: #65918
Resolves: #63703
Releases: master
Reviewed-on: http://review.typo3.org/38022
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Jan Helke <>
Tested-by: Jan Helke <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#2 Updated by Gerrit Code Review almost 5 years ago

  • Status changed from New to Under Review

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

#3 Updated by Gerrit Code Review almost 5 years ago

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

#4 Updated by Gerrit Code Review almost 5 years ago

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

#5 Updated by Martin Tepper almost 5 years ago

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

#6 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF