flowd / scheduler-forker
Run each TYPO3 scheduler task in a forked process
Installs: 4 065
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Type:typo3-cms-extension
Requires
- php: >=7.1.0
- typo3/cms-core: ^8.7 || ^9.5 || ^10.4
- typo3/cms-scheduler: ^8.7 || ^9.5 || ^10.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.12
- phpstan/phpstan-strict-rules: ^0.10
- roave/security-advisories: dev-master
- saschaegerer/phpstan-typo3: 0.10.x-dev
- typo3/testing-framework: ^4.11
This package is auto-updated.
Last update: 2024-11-04 22:08:31 UTC
README
A TYPO3 extension that runs every scheduler task in a separate process.
Why?
The TYPO3 scheduler command typo3 scheduler:run
executes all overdue tasks in
the same process.
When using Extbase (especially the ConfigurationManager) you'll end up in unexpected results when using a multipage setup.
The reason is that the ConfigurationManager has a static cache which means if you have initialized a TYPO3 configuration (TypoScript) it will be used for all tasks executed after it. There is no way to reset the ConfigurationManager and force it to load a configuration for a different page.
How to use
Just call typo3 scheduler_forker:run
instead of typo3 scheduler:run
.
The scheduler_forker will then call typo3 scheduler:run --task X
for each overdue task.