Feature #34227
closedScheduler: Allow execution using "at"-daemon
100%
Description
An alternative to executing the scheduler via cron might be to execute it using the "at"-daemon. This allows the scheduler to be highly flexible when to be invoked next. Also no access is needed to be able to create/modify a cronjob.
1) Determine when next task is to be executed.
2) If next task is 60min from now no need to execute scheduler every 5min or so.
3) If last regular job is disabled, don't execute scheduler-job through atd anymore.
4) If interval for jobs is changed, reschedule next execution through atd.
5) Upon running scheduler automatically schedule next run for itself.
Please note that using the at-daemon needs to be allowed for this to work and the webserver-user needs a valid shell. However if we assume cron is available on a system then it might also be equally likely for at to be available :-)
Updated by Stefan Neufeind over 12 years ago
Could later be used so that plugins can report if/when they need to be scheduled next. So if there is nothing to be sent using Direct Mail there is no need to execute it every minute. But if there is then Direct Mail could be executed at a higher rate.
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/9177
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/9177
Updated by Steffen Ritter over 12 years ago
- Target version deleted (
4.7.0-beta1)
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/9177
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9177
Updated by Gerrit Code Review over 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9177
Updated by Gerrit Code Review over 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9177
Updated by Gerrit Code Review over 12 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9177
Updated by Stefan Neufeind over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1ea6e11f6adf59c3daa1f25e36cb4fdf11c9c06a.
Updated by Christian Kuhn about 7 years ago
- Related to Bug #45265: Single tasks are broken added
Updated by Christian Kuhn about 7 years ago
- Related to Task #82832: Drop "use atd" in scheduler added