3 * This file is part of the TYPO3 CMS project.
5 * It is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License, either version 2
7 * of the License, or any later version.
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
12 * The TYPO3 project - inspiring people to share!
16 * Starts all due tasks, used by the command line interface
17 * This script must be included by the "CLI module dispatcher"
19 * @author Markus Friedrich <markus.friedrich@dkd.de>
22 if (TYPO3_REQUESTTYPE
& TYPO3_REQUESTTYPE_CLI
&& basename(PATH_thisScript
) === 'cli_dispatch.phpsh') {
23 $schedulerCliController = \TYPO3\CMS\Core\Utility\GeneralUtility
::makeInstance(\TYPO3\CMS\Scheduler\Controller\SchedulerCliController
::class);
24 $schedulerCliController->run();
26 die('This script must be included by the "CLI module dispatcher"');