Console tools to manage scheduler tasks
Console commands to manage scheduler tasks include typo3 scheduler:list, typo3 scheduler:execute and typo3 scheduler:run.
You can display detailed help on these commands, by using the -- parameter to
display the help:
vendor/bin/typo3 scheduler:list --help
typo3/sysext/core/bin/typo3 scheduler:list --help
See also: Command usage in terminal environments.
Table of contents
Subpages
Running the scheduler
The command typo3 scheduler:run is usually called by the cron job.
It looks for tasks that are due, and runs them. You can optionally target specific task IDs, force them even if not due, or stop them.
vendor/bin/typo3 scheduler:run
typo3/sysext/core/bin/typo3 scheduler:run
Executing scheduler tasks
The command typo3 scheduler:execute is a "manual fire" runner. You pick tasks (IDs or whole groups) and it executes them on demand, regardless of whether they are due. It can also prompt you interactively to choose.
# Note the id of the task
vendor/bin/typo3 scheduler:list
vendor/bin/typo3 scheduler:execute --task=<taskUid>
# Find the id of the task
typo3/sysext/core/bin/typo3 scheduler:list
typo3/sysext/core/bin/typo3 scheduler:execute --task=<taskUid>
Listing all scheduler tasks
Command typo3 scheduler:list can be used to list all available tasks. This command basically displays the same information as the backend module System > Scheduler.
vendor/bin/typo3 scheduler:list
typo3/sysext/core/bin/typo3 scheduler:list