flowd/scheduler-forker

Run each TYPO3 scheduler task in a forked process

Installs: 2 593

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

1.1.1 2018-11-07 18:56 UTC

This package is auto-updated.

Last update: 2021-03-29 00:30:14 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.