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

1.2.0 2021-04-26 16:14 UTC

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.