Project

General

Profile

Actions

Feature #34227

closed

Scheduler: Allow execution using "at"-daemon

Added by Stefan Neufeind about 12 years ago. Updated over 5 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

Also available in: Atom PDF