Project

General

Profile

Actions

Feature #45537

closed

Run manually executed tasks on next cron-run

Added by Stefan Neufeind about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
scheduler
Target version:
Start date:
2013-02-16
Due date:
% Done:

100%

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

Description

Currently manually executed tasks are run directly. It might be good (possibly as a configuration-setting for the scheduler) to be able to instead run the task on the next regular cron-run. This would decouple long-running tasks from end backend-UI but still allow to rerun a task that's usually executed on a daily basis or so.


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #39139: Decouple backend task execution from backendClosedBenni Mack2012-07-20

Actions
Related to TYPO3 Core - Feature #52686: scheduler: mark task to immediately be triggered by cronClosed2013-10-11

Actions
Related to TYPO3 Core - Task #72628: EXT:Scheduler Outdated documentationClosedMichael Oehlhof2016-01-10

Actions
Related to TYPO3 Core - Task #79695: Usability improvements for scheduler necessaryClosedFrank Nägler2017-02-08

Actions
Actions #1

Updated by Georg Ringer about 11 years ago

we do this a different way: if tasks run regularly and sometimes on demand, we create an additional task with defined as running only once. when it is finished you just activate the task again and it will run with next scheduler job.

wouldn'T that be enough?

Actions #2

Updated by Stefan Neufeind about 11 years ago

Good workaround, I agree.

But with a list of like 20 scheduler-entries (have that lately) you wouldn't really want to keep all duplicate just because you'll eventually need to rerun it (some import-job that failed during the night or whatever).

Actions #3

Updated by Georg Ringer about 11 years ago

if that is a global configuration, IMO it would be ok. wanna do the patch? it seems your client needs it ;))

Actions #4

Updated by Philipp Gampe almost 11 years ago

I think it would be enough to create a schedule-now action which sets the next execution time to now(). Then the next cron run will pick it up.

Actions #5

Updated by Ingo Renner almost 11 years ago

I'd also be in favor of adding a schedule-for-next-cron-run action instead of modifying the run-now behavior. Obviously when you say "now", you mean "now". Also I would see your use case more as an edge case rather than the regular case. I see the point with decoupling from the UI though!

Actions #6

Updated by Michael Stucki over 10 years ago

  • Category set to scheduler
Actions #7

Updated by Michael Stucki over 10 years ago

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

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.4 (Backend)
Actions #9

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #10

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 8 LTS
Actions #11

Updated by Michael Oehlhof over 8 years ago

Taken from the duplicate 52686:
There should be a new action icon to mark a task to be run by cron. Or even also a new button like "Mark selected tasks for next cronjob run"
This should just update nextexecution field to $GLOBALS['EXEC_TIME']

Actions #12

Updated by Michael Oehlhof over 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Michael Oehlhof
Actions #13

Updated by Gerrit Code Review over 8 years ago

  • Status changed from In Progress 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/45807

Actions #14

Updated by Gerrit Code Review over 8 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/45807

Actions #15

Updated by Gerrit Code Review about 8 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/45807

Actions #16

Updated by Gerrit Code Review almost 8 years 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/45807

Actions #17

Updated by Gerrit Code Review over 7 years 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/45807

Actions #18

Updated by Gerrit Code Review over 7 years 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/45807

Actions #19

Updated by Gerrit Code Review over 7 years 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/45807

Actions #20

Updated by Gerrit Code Review over 7 years 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/45807

Actions #21

Updated by Michael Oehlhof over 7 years ago

  • Sprint Focus set to On Location Sprint
Actions #22

Updated by Gerrit Code Review over 7 years 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/45807

Actions #23

Updated by Gerrit Code Review over 7 years 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/45807

Actions #24

Updated by Gerrit Code Review over 7 years ago

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

Actions #25

Updated by Gerrit Code Review over 7 years ago

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

Actions #26

Updated by Gerrit Code Review over 7 years ago

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

Actions #27

Updated by Gerrit Code Review over 7 years ago

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

Actions #28

Updated by Gerrit Code Review about 7 years ago

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

Actions #29

Updated by Michael Oehlhof about 7 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF