Feature #87837
closedConsole/CommandApplication.php Error-Message php_sapi_name() !== 'cli'
0%
Description
The current message is
'Not called from a command line interface (e.g. a shell or scheduler).'
This message is not wrong but led my search wrong. In my case I hat to call PHP by
php7...-CLI (jweiland) to provide command line interface to the scheduler. It took me some hours to find out.
Please give some hint in the error message.
Typo3 V 8.7.24
Updated by Benni Mack over 5 years ago
- Status changed from New to Closed
Looks like you run on a hoster with special flavors.
As we did not do this in the past, we can't document special handling for certain hosters, as - really - every hoster has different issues / configurations. Maybe this could be added in the future, but certainly not in the source code of TYPO3, but maybe in the docs section of TYPO3 or on typo3.org - but that's something that should be handled separately.
For the time being, feel free to use the documentation of your hoster: https://jweiland.net/typo3/codebeispiele/erweiterungen-anpassen/scheduler-aufgaben-automatisieren.html