Feature #45537
closedRun manually executed tasks on next cron-run
100%
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.
Updated by Georg Ringer almost 12 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?
Updated by Stefan Neufeind almost 12 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).
Updated by Georg Ringer almost 12 years ago
if that is a global configuration, IMO it would be ok. wanna do the patch? it seems your client needs it ;))
Updated by Philipp Gampe over 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.
Updated by Ingo Renner over 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!
Updated by Michael Stucki about 11 years ago
- Project changed from 739 to TYPO3 Core
- Category changed from scheduler to scheduler
Updated by Mathias Schreiber almost 10 years ago
- Target version set to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 8 LTS
Updated by Michael Oehlhof almost 9 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']
Updated by Michael Oehlhof almost 9 years ago
- Status changed from New to In Progress
- Assignee set to Michael Oehlhof
Updated by Gerrit Code Review almost 9 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
Updated by Gerrit Code Review almost 9 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
Updated by Gerrit Code Review almost 9 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
Updated by Gerrit Code Review over 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
Updated by Gerrit Code Review over 8 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
Updated by Gerrit Code Review over 8 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
Updated by Gerrit Code Review over 8 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
Updated by Gerrit Code Review about 8 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
Updated by Michael Oehlhof about 8 years ago
- Sprint Focus set to On Location Sprint
Updated by Gerrit Code Review almost 8 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
Updated by Gerrit Code Review almost 8 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
Updated by Gerrit Code Review almost 8 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
Updated by Gerrit Code Review almost 8 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
Updated by Gerrit Code Review almost 8 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
Updated by Gerrit Code Review almost 8 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
Updated by Gerrit Code Review almost 8 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
Updated by Michael Oehlhof almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c54d442d29112f1b8bb866feb1e7ebb1c0b3ed1f.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed