diff --git a/typo3/sysext/scheduler/Documentation/Images/BackendModuleMainView.png b/typo3/sysext/scheduler/Documentation/Images/BackendModuleMainView.png index dcbf78b647efa826556562da625cd8388e470769..e5dd545439df2ce27bcf557ba7d9f2badf697abd 100644 Binary files a/typo3/sysext/scheduler/Documentation/Images/BackendModuleMainView.png and b/typo3/sysext/scheduler/Documentation/Images/BackendModuleMainView.png differ diff --git a/typo3/sysext/scheduler/Documentation/Installation/CronJob/Index.rst b/typo3/sysext/scheduler/Documentation/Installation/CronJob/Index.rst index f406ee3cb3d25631bdd59a0a1159b54a4f6244fc..71c06671fd09ef6e84eafea234cf4e63387e18de 100644 --- a/typo3/sysext/scheduler/Documentation/Installation/CronJob/Index.rst +++ b/typo3/sysext/scheduler/Documentation/Installation/CronJob/Index.rst @@ -57,7 +57,7 @@ and add a line like :: - */15 * * * * /usr/local/bin/php /home/bob/www/typo3/cli_dispatch.phpsh scheduler + */15 * * * * /usr/local/bin/php /home/user/www/typo3/sysext/core/bin/typo3 scheduler:run Save the modified crontab. Obviously the paths have to be adapted to your system. The above command will call up the Scheduler every 15 @@ -70,7 +70,7 @@ to enter, i.e. the user with which the job should run. Example :: - */15 * * * * www /usr/local/bin/php /home/bob/www/typo3/cli_dispatch.phpsh scheduler + */15 * * * * www /usr/local/bin/php /home/user/www/typo3/sysext/core/bin/typo3 scheduler:run This will run the job as user "www". @@ -95,7 +95,7 @@ following command line to create a new task: :: - schtasks /create /sc minute /mo 15 /tn "T3scheduler" /tr "c:\winstaller\php\php.exe c:\winstaller\htdocs\quickstart\typo3\cli_dispatch.phpsh scheduler" + schtasks /create /sc minute /mo 15 /tn "T3scheduler" /tr "c:\winstaller\php\php.exe c:\winstaller\htdocs\quickstart\typo3\sysext\core\bin\typo3 scheduler:run" At task creation you will be prompted to give a password or you can use the :code:`/u` and :code:`/p` switches to provide user and diff --git a/typo3/sysext/scheduler/Documentation/Installation/SchedulerShellScript/Index.rst b/typo3/sysext/scheduler/Documentation/Installation/SchedulerShellScript/Index.rst index 74492360204ff0aa23f9fc064d3d21b772f774fa..40016844dbf639e83dbfc738e8ff3558587e6c51 100644 --- a/typo3/sysext/scheduler/Documentation/Installation/SchedulerShellScript/Index.rst +++ b/typo3/sysext/scheduler/Documentation/Installation/SchedulerShellScript/Index.rst @@ -14,12 +14,22 @@ The Scheduler shell script The Scheduler provides a PHP shell script designed to be run using TYPO3's command-line dispatcher. To try and run that script a first -time, type the following command (adapting the path to PHP and TYPO3 -to match your system): +time, type the following command (adapting the path to TYPO3 +to match your system and add the full path to the php interpreter +in front of the command if php is not on the search path): :: - /usr/local/bin/php /home/bob/www/typo3/cli_dispatch.phpsh scheduler + /home/user/www/typo3/sysext/core/bin/typo3 scheduler:run + /usr/local/bin/php /home/user/www/typo3/sysext/core/bin/typo3 scheduler:run + +If your installation is a composer based instance you can use this command line +in your installation directory: + +:: + + bin/typo3 scheduler:run + /usr/local/bin/php bin/typo3 scheduler:run .. _options: @@ -34,7 +44,7 @@ To run a specific scheduler task you need to provide the uid of the task: :: - /usr/local/bin/php /home/bob/www/typo3/cli_dispatch.phpsh scheduler --task=8 + /home/user/www/typo3/sysext/core/bin/typo3 scheduler:run --task=8 The example will trigger the task with uid 8. @@ -42,6 +52,6 @@ To run a task even if it is disabled, you need to provide the force option :: - /usr/local/bin/php /home/bob/www/typo3/cli_dispatch.phpsh scheduler --task=8 -f + /home/user/www/typo3/sysext/core/bin/typo3 scheduler:run --task=8 -f This will also run the task with uid 8 if it is disabled.