Commit ea7f8c63 authored by Michael Oehlhof's avatar Michael Oehlhof Committed by Jigal van Hemert
Browse files

[TASK] EXT:scheduler: Last old image and cli_dispatch

Exchanged the old BackendModuleMainView image and correct the examples
for the command line call.

Resolves: #83336
Releases: master
Change-Id: I53844f5bef4a5b52be58dc14d1fc260b7a97d775
Reviewed-on: https://review.typo3.org/55088

Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
parent adb73680
......@@ -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
......
......@@ -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.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment