Project

General

Profile

Actions

Feature #31073

closed

Trigger execution of a specific task from CLI

Added by Bart Dubelaar about 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2011-10-18
Due date:
% Done:

100%

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

Description

This would be a nice feature, it would allow another process to trigger a specific task.


Files

scheduler_cli_dispatch.diff (1.17 KB) scheduler_cli_dispatch.diff Bart Dubelaar, 2011-10-18 15:19

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #63699: provide --help CLI optionClosed2014-12-09

Actions
Related to TYPO3 Core - Feature #63703: Stop task from CLIClosed2014-12-09

Actions
Blocks TYPO3 Core - Task #38506: Document run task via CLI by -i <id>Closed2012-06-30

Actions
Actions #1

Updated by Bart Dubelaar about 13 years ago

Here is a simple solution that adds an option -i to the CLI command. The option -i should be followed by the id of the task that should be executed. Only the given task is executed, other tasks are left for the next regular run of the cron job.

Actions #2

Updated by Bart Dubelaar about 13 years ago

I can commit it to Gerrit if others are interested in this feature.

Actions #3

Updated by Steffen Ritter about 13 years ago

  • Target version set to 4.7.0

Hi Bart,
thank you for your contribution.

Bart Dubelaar wrote:

I can commit it to Gerrit if others are interested in this feature.

Since we are in feature freeze for Version 4.6 this cannot be integrated there (will be released next week).
Anyhow feel free to push it to Gerrit as of next week.

One little remark to your Patch: please correct the space between if and its braces.

regards

Actions #4

Updated by Bart Dubelaar about 13 years ago

Ok, I will do that. I just removed the space in the diff here for readability.

Actions #5

Updated by Felix Kopp almost 13 years ago

Are you still interested in adding this feature?

If there are questions about how to commit you will find input here
http://wiki.typo3.org/Contribution_Walkthrough

Actions #6

Updated by Bart Dubelaar almost 13 years ago

Hi Felix, I will commit it when I find some time. Thanks for reminding me.

Actions #7

Updated by Francois Suter over 12 years ago

  • Target version deleted (4.7.0)
Actions #8

Updated by Gerrit Code Review over 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12481

Actions #9

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12481

Actions #10

Updated by Gerrit Code Review over 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12481

Actions #11

Updated by Philipp Gampe over 12 years ago

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

Updated by Michael Stucki almost 11 years ago

  • Category set to scheduler
Actions #13

Updated by Michael Stucki almost 11 years ago

  • Project changed from 739 to TYPO3 Core
  • Category changed from scheduler to scheduler
Actions #14

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF