Project

General

Profile

Actions

Feature #34227

closed

Scheduler: Allow execution using "at"-daemon

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

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2012-02-24
Due date:
% Done:

100%

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

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 :-)


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Task #39928: Central function to correctly (locale-aware) escape filenames and shell-argsClosed2012-08-18

Actions
Related to TYPO3 Core - Feature #39939: Scheduler: Allow execution using "at"-daemonClosed2012-08-18

Actions
Related to TYPO3 Core - Bug #45265: Single tasks are brokenClosedPhilipp Gampe2013-02-08

Actions
Related to TYPO3 Core - Task #82832: Drop "use atd" in schedulerClosed2017-10-20

Actions
Actions #1

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.

Actions #2

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

Actions #3

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

Actions #4

Updated by Steffen Ritter over 12 years ago

  • Target version deleted (4.7.0-beta1)
Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

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

Actions #10

Updated by Stefan Neufeind over 12 years ago

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

Updated by Christian Kuhn about 7 years ago

  • Related to Bug #45265: Single tasks are broken added
Actions #12

Updated by Christian Kuhn about 7 years ago

  • Related to Task #82832: Drop "use atd" in scheduler added
Actions #13

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF