List of TYPO3 console commands

By default TYPO3 ships the listed console commands, depending on which system extensions are installed.

Third party extensions can define custom console commands.

The extension EXT:typo3_console ships many commands to execute TYPO3 actions, which otherwise would only be accessible via the TYPO3 backend.

This page assumes that the code is run on a Composer based installation with default binaries location. Here you can read how to run them in general and on legacy installations: Run a command from the command line.

List all TYPO3 console commands

Command Description
global
 
completion
Dump the shell completion script
help
Display help for a command
list
List commands
setup
Setup TYPO3 via CLI using environment variables, CLI options or interactive
backend
 
backend:lock
Lock the TYPO3 Backend
backend:resetpassword
Trigger a password reset for a backend user
backend:unlock
Unlock the TYPO3 Backend
backend:user:create
Create a backend user
cache
 
cache:flush
Flush TYPO3 caches.
cache:warmup
Warmup TYPO3 caches.
cleanup
 
cleanup:deletedrecords
Permanently deletes all records marked as "deleted" in the database.
cleanup:flexforms
Updates all database records which have a FlexForm field and the XML data does not match the chosen datastructure.
cleanup:localprocessedfiles
Delete processed files and their database records.
cleanup:missingrelations
Find all record references pointing to a non-existing record
cleanup:orphanrecords
Find and delete records that have lost their connection with the page tree.
cleanup:previewlinks
Clean up expired preview links from shared workspace previews.
cleanup:versions
Find all versioned records and possibly cleans up invalid records in the database.
extension
 
extension:list
Shows the list of extensions available to the system
extension:setup
Set up extensions
impexp
 
impexp:export
Exports a T3D / XML file with content of a page tree
impexp:import
Imports a T3D / XML file with content into a page tree
language
 
language:update
Update the language files of all activated extensions
mailer
 
mailer:spool:send
Sends emails from the spool
messenger
 
messenger:consume
Consume messages
redirects
 
redirects:checkintegrity
Check integrity of redirects
redirects:cleanup
Cleanup old redirects periodically for given constraints like days, hit count or domains.
referenceindex
 
referenceindex:update
Update the reference index of TYPO3
scheduler
 
scheduler:execute
Execute given Scheduler tasks.
scheduler:list
List all Scheduler tasks.
scheduler:run
Start the TYPO3 Scheduler from the command line.
site
 
site:list
Shows the list of sites available to the system
site:show
Shows the configuration of the specified site
syslog
 
syslog:list
Show entries from the sys_log database table of the last 24 hours.
upgrade
 
upgrade:list
List available upgrade wizards.
upgrade:run
Run upgrade wizard. Without arguments all available wizards will be run.
workspace
 
workspace:autopublish
Publish a workspace with a publication date.

completion

completion Back to list
Dump the shell completion script
Usage
completion [--debug] [--] [<shell>]
Copied!
Arguments

shell

shell
The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not given
Options

--debug

--debug
Tail the completion debug log
Value
None allowed
Default value
false
Help

The completion command dumps the shell completion script required to use shell autocompletion (currently, bash, fish, zsh completion are supported).

Static installation

Dump the script to a global completion file and restart your shell:

completion  | sudo tee /etc/bash_completion.d/typo3
Copied!

Or dump the script to a local file and source it:

completion  > completion.sh

# source the file whenever you use the project
source completion.sh

# or add this line at the end of your "~/.bashrc" file:
source /path/to/completion.sh
Copied!
Dynamic installation

Add this to the end of your shell configuration file (e.g. "~/.bashrc"):

eval "$(/var/www/html/completion )"
Copied!

help

help Back to list
Display help for a command
Usage
help [--format FORMAT] [--raw] [--] [<command_name>]
Copied!
Arguments

command_name

command_name
The command name
Options

--format

--format
The output format (txt, xml, json, or md)
Value
Required
Default value
"txt"

--raw

--raw
To output raw command help
Value
None allowed
Default value
false
Help

The help command displays help for a given command:

help list
Copied!

You can also output the help in other formats by using the --format option:

help --format=xml list
Copied!

To display the list of available commands, please use the list command.

list

list Back to list
List commands
Usage
list [--raw] [--format FORMAT] [--short] [--] [<namespace>]
Copied!
Arguments

namespace

namespace
The namespace name
Options

--raw

--raw
To output raw command list
Value
None allowed
Default value
false

--format

--format
The output format (txt, xml, json, or md)
Value
Required
Default value
"txt"

--short

--short
To skip describing commands' arguments
Value
None allowed
Default value
false
Help

The list command lists all commands:

list
Copied!

You can also display the commands for a specific namespace:

list test
Copied!

You can also output the information in other formats by using the --format option:

list --format=xml
Copied!

It's also possible to get raw list of commands (useful for embedding command runner):

list --raw
Copied!

setup

setup Back to list
Setup TYPO3 via CLI using environment variables, CLI options or interactive
Usage
setup [--driver [DRIVER]] [--host HOST] [--port [PORT]] [--dbname DBNAME] [--username USERNAME] [--password PASSWORD] [--admin-username [ADMIN-USERNAME]] [--admin-user-password ADMIN-USER-PASSWORD] [--admin-email ADMIN-EMAIL] [--project-name PROJECT-NAME] [--create-site [CREATE-SITE]] [--server-type [SERVER-TYPE]] [--force] [-n|--no-interaction]
Copied!
Options

--driver

--driver
Select which database driver to use
Value
Optional

--host

--host
Set the database host to use
Value
Required
Default value
"db"

--port

--port
Set the database port to use
Value
Optional
Default value
"3306"

--dbname

--dbname
Set the database name to use
Value
Required
Default value
"db"

--username

--username
Set the database username to use
Value
Required
Default value
"db"

--password

--password
Set the database password to use
Value
Required

--admin-username

--admin-username
Set a username
Value
Optional
Default value
"admin"

--admin-user-password

--admin-user-password
Set users password
Value
Required

--admin-email

--admin-email
Set users email
Value
Required
Default value
""

--project-name

--project-name
Set the TYPO3 project name
Value
Required
Default value
"New TYPO3 Project"

--create-site

--create-site
Create a basic site setup (root page and site configuration) with the given domain
Value
Optional
Default value
false

--server-type

--server-type
Define the web server the TYPO3 installation will be running on
Value
Optional
Default value
"other"

--force

--force
Force settings overwrite - use this if TYPO3 has been installed already
Value
None allowed
Default value
false
Help
The command offers 3 ways to setup TYPO3:
  1. environment variables
  2. commandline options
  3. interactive guided walk-through

All values are validated no matter where it was set. If a value is missing, the user will be asked for it.

Setup using environment variables

TYPO3_DB_DRIVER=mysqli \
TYPO3_DB_USERNAME=db \
TYPO3_DB_PORT=3306 \
TYPO3_DB_HOST=db \
TYPO3_DB_DBNAME=db \
TYPO3_SETUP_ADMIN_EMAIL=admin@example.com \
TYPO3_SETUP_ADMIN_USERNAME=admin \
TYPO3_SETUP_CREATE_SITE="https://your-typo3-site.com/" \
TYPO3_PROJECT_NAME="Automated Setup" \
TYPO3_SERVER_TYPE="apache" \
./setup --force

Copied!

backend:lock

backend:lock Back to list
Lock the TYPO3 Backend
Usage
backend:lock [<redirect>]
Copied!
Arguments

redirect

redirect
If set, then the TYPO3 Backend will redirect to the locking state (only used when locking the TYPO3 Backend
Help

Lock the TYPO3 Backend

backend:resetpassword

backend:resetpassword Back to list
Trigger a password reset for a backend user
Usage
backend:resetpassword <backendurl> <email>
Copied!
Arguments

backendurl

backendurl
The URL of the TYPO3 Backend, e.g. https://www.example.com/typo3/

email

email
The email address of a valid backend user
Help

Trigger a password reset for a backend user

backend:unlock

backend:unlock Back to list
Unlock the TYPO3 Backend
Usage
backend:unlock
Copied!
Help

Unlock the TYPO3 Backend

backend:user:create

backend:user:create Back to list
Create a backend user
Usage
backend:user:create [-u|--username USERNAME] [-p|--password PASSWORD] [-e|--email EMAIL] [-g|--groups GROUPS] [-a|--admin] [-m|--maintainer]
Copied!
Options

--username

--username / -u
The username of the backend user
Value
Required

--password

--password / -p
The password of the backend user. See security note below.
Value
Required

--email

--email / -e
The email address of the backend user
Value
Required
Default value
""

--groups

--groups / -g
Assign given groups to the user
Value
Required

--admin

--admin / -a
Create user with admin privileges
Value
None allowed
Default value
false

--maintainer

--maintainer / -m
Create user with maintainer privileges
Value
None allowed
Default value
false
Help

Create a backend user using environment variables

Example:

TYPO3_BE_USER_NAME=username \
TYPO3_BE_USER_EMAIL=admin@example.com \
TYPO3_BE_USER_GROUPS=<comma-separated-list-of-group-ids> \
TYPO3_BE_USER_ADMIN=0 \
TYPO3_BE_USER_MAINTAINER=0 \
./backend:user:create --no-interaction
Copied!

cache:flush

cache:flush Back to list
Flush TYPO3 caches.
Usage
cache:flush [-g|--group [GROUP]]
Copied!
Options

--group

--group / -g
The cache group to flush (system, pages, di or all)
Value
Optional
Default value
"all"
Help

This command can be used to clear the caches, for example after code updates in local development and after deployments.

cache:warmup

cache:warmup Back to list
Warmup TYPO3 caches.
Usage
cache:warmup [-g|--group [GROUP]]
Copied!
Options

--group

--group / -g
The cache group to warmup (system, pages, di or all)
Value
Optional
Default value
"all"
Help

This command is useful for deployments to warmup caches during release preparation.

cleanup:deletedrecords

cleanup:deletedrecords Back to list
Permanently deletes all records marked as "deleted" in the database.
Usage
cleanup:deletedrecords [-p|--pid PID] [-d|--depth DEPTH] [--dry-run] [-m|--min-age MIN-AGE]
Copied!
Options

--pid

--pid / -p
Setting start page in page tree. Default is the page tree root, 0 (zero)
Value
Required

--depth

--depth / -d
Setting traversal depth. 0 (zero) will only analyze start page (see --pid), 1 will traverse one level of subpages etc.
Value
Required

--dry-run

--dry-run
If this option is set, the records will not actually be deleted, but just the output which records would be deleted are shown
Value
None allowed
Default value
false

--min-age

--min-age / -m
Minimum age in days records need to be marked for deletion before actual deletion
Value
Required
Default value
0
Help

Traverse page tree and find and flush deleted records. If you want to get more detailed information, use the --verbose option.

cleanup:flexforms

cleanup:flexforms Back to list
Updates all database records which have a FlexForm field and the XML data does not match the chosen datastructure.
Usage
cleanup:flexforms [-p|--pid PID] [-d|--depth DEPTH] [--dry-run]
Copied!
Options

--pid

--pid / -p
Setting start page in page tree. Default is the page tree root, 0 (zero)
Value
Required

--depth

--depth / -d
Setting traversal depth. 0 (zero) will only analyze start page (see --pid), 1 will traverse one level of subpages etc.
Value
Required

--dry-run

--dry-run
If this option is set, the records will not be updated, but only show the output which records would have been updated.
Value
None allowed
Default value
false
Help

Traverse page tree and find and clean/update records with dirty FlexForm values. If you want to get more detailed information, use the --verbose option.

cleanup:localprocessedfiles

cleanup:localprocessedfiles Back to list
Delete processed files and their database records.
Usage
cleanup:localprocessedfiles [--dry-run] [-f|--force]
Copied!
Options

--dry-run

--dry-run
If set, the records and files which would be deleted are displayed.
Value
None allowed
Default value
false

--force

--force / -f
Force cleanup. When set the confirmation question will be skipped. When using --no-interaction, --force will be set automatically.
Value
None allowed
Default value
false
Help

If you want to get more detailed information, use the --verbose option.

cleanup:missingrelations

cleanup:missingrelations Back to list
Find all record references pointing to a non-existing record
Usage
cleanup:missingrelations [--dry-run] [--update-refindex]
Copied!
Options

--dry-run

--dry-run
If this option is set, the references will not be removed, but just the output which references would be deleted are shown
Value
None allowed
Default value
false

--update-refindex

--update-refindex
Setting this option automatically updates the reference index and does not ask on command line. Alternatively, use -n to avoid the interactive mode
Value
None allowed
Default value
false
Help

Assumptions: - a perfect integrity of the reference index table (always update the reference index table before using this tool!) - all database references to check are integers greater than zero - does not check if a referenced record is inside an offline branch, another workspace etc. which could make the reference useless in reality or otherwise question integrity Records may be missing for these reasons (except software bugs): - someone deleted the record which is technically not an error although it might be a mistake that someone did so. - after flushing published versions and/or deleted-flagged records a number of new missing references might appear; those were pointing to records just flushed.

An automatic repair is only possible for managed references are (not for soft references), for offline versions records and non-existing records. If you just want to list them, use the --dry-run option. The references in this case are removed.

If the option "--dry-run" is not set, all managed files (TCA/FlexForm attachments) will silently remove the references to non-existing and offline version records. All soft references with relations to non-existing records, offline versions and deleted records require manual fix if you consider it an error.

Manual repair suggestions: - For soft references you should investigate each case and edit the content accordingly. - References to deleted records can theoretically be removed since a deleted record cannot be selected and hence your website should not be affected by removal of the reference. On the other hand it does not hurt to ignore it for now. To have this automatically fixed you must first flush the deleted records after which remaining references will appear as pointing to Non Existing Records and can now be removed with the automatic fix.

If you want to get more detailed information, use the --verbose option.

cleanup:orphanrecords

cleanup:orphanrecords Back to list
Find and delete records that have lost their connection with the page tree.
Usage
cleanup:orphanrecords [--dry-run]
Copied!
Options

--dry-run

--dry-run
If this option is set, the records will not actually be deleted, but just the output which records would be deleted are shown
Value
None allowed
Default value
false
Help

Assumption: All actively used records on the website from TCA configured tables are located in the page tree exclusively.

All records managed by TYPO3 via the TCA array configuration has to belong to a page in the page tree, either directly or indirectly as a version of another record. VERY TIME, CPU and MEMORY intensive operation since the full page tree is looked up!

Automatic Repair of Errors: - Silently deleting the orphaned records. In theory they should not be used anywhere in the system, but there could be references. See below for more details on this matter.

Manual repair suggestions: - Possibly re-connect orphaned records to page tree by setting their "pid" field to a valid page id. A lookup in the sys_refindex table can reveal if there are references to an orphaned record. If there are such references (from records that are not themselves orphans) you might consider to re-connect the record to the page tree, otherwise it should be safe to delete it.

If you want to get more detailed information, use the --verbose option.

cleanup:previewlinks

Clean up expired preview links from shared workspace previews.
Usage
cleanup:previewlinks
Copied!
Help

Look for preview links within the database table "sys_preview" that have been expired and and remove them. This command should be called regularly when working with workspaces.

cleanup:versions

cleanup:versions Back to list
Find all versioned records and possibly cleans up invalid records in the database.
Usage
cleanup:versions [-p|--pid PID] [-d|--depth DEPTH] [--dry-run] [--action [ACTION]]
Copied!
Options

--pid

--pid / -p
Setting start page in page tree. Default is the page tree root, 0 (zero)
Value
Required

--depth

--depth / -d
Setting traversal depth. 0 (zero) will only analyze start page (see --pid), 1 will traverse one level of subpages etc.
Value
Required

--dry-run

--dry-run
If this option is set, the records will not actually be deleted/modified, but just the output which records would be touched are shown
Value
None allowed
Default value
false

--action

--action
Specify which action should be taken. Set it to "versions_in_live", "published_versions" or "invalid_workspace"
Value
Optional
Help

Traverse page tree and find versioned records. Also list all versioned records, additionally with some inconsistencies in the database, which can cleaned up with the "action" option. If you want to get more detailed information, use the --verbose option.

extension:list

extension:list Back to list
Shows the list of extensions available to the system
Usage
extension:list [-a|--all] [-i|--inactive]
Copied!
Options

--all

--all / -a
Also display currently inactive/uninstalled extensions.
Value
None allowed
Default value
false

--inactive

--inactive / -i
Only show inactive/uninstalled extensions available for installation.
Value
None allowed
Default value
false
Help

Shows the list of extensions available to the system

extension:setup

extension:setup Back to list
Set up extensions
Usage
extension:setup [-e|--extension EXTENSION]
Copied!
Options

--extension

--extension / -e
Only set up extensions with given key
Value
Required (multiple)
Default value
[]
Help

Setup all extensions or the given extension by extension key. This must be performed after new extensions are required via Composer.

The command performs all necessary setup operations, such as database schema changes, static data import, distribution files import etc.

The given extension keys must be recognized by TYPO3 or will be ignored.

impexp:export

impexp:export Back to list
Exports a T3D / XML file with content of a page tree
Usage
impexp:export [--type [TYPE]] [--pid [PID]] [--levels [LEVELS]] [--table [TABLE]] [--record [RECORD]] [--list [LIST]] [--include-related [INCLUDE-RELATED]] [--include-static [INCLUDE-STATIC]] [--exclude [EXCLUDE]] [--exclude-disabled-records] [--exclude-html-css] [--title [TITLE]] [--description [DESCRIPTION]] [--notes [NOTES]] [--dependency [DEPENDENCY]] [--save-files-outside-export-file] [--] [<filename>]
Copied!
Arguments

filename

filename
The filename to export to (without file extension).
Options

--type

--type
The file type (xml, t3d, t3d_compressed).
Value
Optional
Default value
"xml"

--pid

--pid
The root page of the exported page tree.
Value
Optional
Default value
-1

--levels

--levels
The depth of the exported page tree. "-2": "Records on this page", "-1": "Expanded tree", "0": "This page", "1": "1 level down", .. "999": "Infinite levels".
Value
Optional
Default value
0

--table

--table
Include all records of this table. Examples: "_ALL", "tt_content", "sys_file_reference", etc.
Value
Optional (multiple)
Default value
[]

--record

--record
Include this specific record. Pattern is "{table}:{record}". Examples: "tt_content:12", etc.
Value
Optional (multiple)
Default value
[]

--list

--list
Include the records of this table and this page. Pattern is "{table}:{pid}". Examples: "be_users:0", etc.
Value
Optional (multiple)
Default value
[]

--include-related

Include record relations to this table, including the related record. Examples: "_ALL", "sys_category", etc.
Value
Optional (multiple)
Default value
[]

--include-static

--include-static
Include record relations to this table, excluding the related record. Examples: "_ALL", "be_users", etc.
Value
Optional (multiple)
Default value
[]

--exclude

--exclude
Exclude this specific record. Pattern is "{table}:{record}". Examples: "fe_users:3", etc.
Value
Optional (multiple)
Default value
[]

--exclude-disabled-records

--exclude-disabled-records
Exclude records which are handled as disabled by their TCA configuration, e.g. by fields "disabled", "starttime" or "endtime".
Value
None allowed
Default value
false

--exclude-html-css

--exclude-html-css
Exclude referenced HTML and CSS files.
Value
None allowed
Default value
false

--title

--title
The meta title of the export.
Value
Optional

--description

--description
The meta description of the export.
Value
Optional

--notes

--notes
The meta notes of the export.
Value
Optional

--dependency

--dependency
This TYPO3 extension is required for the exported records. Examples: "news", "powermail", etc.
Value
Optional (multiple)
Default value
[]

--save-files-outside-export-file

--save-files-outside-export-file
Save files into separate folder instead of including them into the common export file. Folder name pattern is "{filename}.files".
Value
None allowed
Default value
false
Help

Exports a T3D / XML file with content of a page tree

impexp:import

impexp:import Back to list
Imports a T3D / XML file with content into a page tree
Usage
impexp:import [--update-records] [--ignore-pid] [--force-uid] [--import-mode [IMPORT-MODE]] [--enable-log] [--] <file> [<pid>]
Copied!
Arguments

file

file
The file path to import from (.t3d or .xml).

pid

pid
The page to import to.
Options

--update-records

--update-records
If set, existing records with the same UID will be updated instead of inserted.
Value
None allowed
Default value
false

--ignore-pid

--ignore-pid
If set, page IDs of updated records are not corrected (only works in conjunction with --update-records).
Value
None allowed
Default value
false

--force-uid

--force-uid
If set, UIDs from file will be forced.
Value
None allowed
Default value
false

--import-mode

--import-mode
Set the import mode of this specific record. Pattern is "{table}:{record}={mode}". Available modes for new records are "force_uid" and "exclude" and for existing records "as_new", "ignore_pid", "respect_pid" and "exclude". Examples are "pages:987=force_uid", "tt_content:1=as_new", etc.
Value
Optional (multiple)
Default value
[]

--enable-log

--enable-log
If set, all database actions are logged.
Value
None allowed
Default value
false
Help

Imports a T3D / XML file with content into a page tree

language:update

language:update Back to list
Update the language files of all activated extensions
Usage
language:update [--no-progress] [--fail-on-warnings] [--skip-extension SKIP-EXTENSION] [--] [<locales>...]
Copied!
Arguments

locales

locales
Provide iso codes separated by space to update only selected language packs. Example `bin/typo3 language:update de ja`.
Options

--no-progress

--no-progress
Disable progress bar.
Value
None allowed
Default value
false

--fail-on-warnings

--fail-on-warnings
Fail command when translation was not found on the server.
Value
None allowed
Default value
false

--skip-extension

--skip-extension
Skip extension. Useful for e.g. for not public extensions, which don't have language packs.
Value
Required (multiple)
Default value
[]
Help

Update the language files of all activated extensions

mailer:spool:send

mailer:spool:send Back to list
Sends emails from the spool
Usage
mailer:spool:send [--message-limit MESSAGE-LIMIT] [--time-limit TIME-LIMIT] [--recover-timeout RECOVER-TIMEOUT]
Copied!
swiftmailer:spool:send
Copied!
Options

--message-limit

--message-limit
The maximum number of messages to send.
Value
Required

--time-limit

--time-limit
The time limit for sending messages (in seconds).
Value
Required

--recover-timeout

--recover-timeout
The timeout for recovering messages that have taken too long to send (in seconds).
Value
Required
Help

Sends emails from the spool

messenger:consume

messenger:consume Back to list
Consume messages
Usage
messenger:consume [--sleep SLEEP] [--queues QUEUES] [--exit-code-on-limit EXIT-CODE-ON-LIMIT] [--] [<receivers>...]
Copied!
Arguments

receivers

receivers
Names of the receivers/transports to consume in order of priority
Options

--sleep

--sleep
Seconds to sleep before asking for new messages after no messages were found
Value
Required
Default value
1

--queues

--queues
Limit receivers to only consume from the specified queues
Value
Required (multiple)
Default value
[]

--exit-code-on-limit

--exit-code-on-limit
Exit code when limits are reached
Value
Required
Default value
0
Help

The messenger:consume command consumes messages and dispatches them to the message bus.

php messenger:consume <receiver-name>

To receive from multiple transports, pass each name:

php messenger:consume receiver1 receiver2
Copied!

Use the --queues option to limit a receiver to only certain queues (only supported by some receivers):

php messenger:consume <receiver-name> --queues=fasttrack
Copied!

redirects:checkintegrity

redirects:checkintegrity Back to list
Check integrity of redirects
Usage
redirects:checkintegrity [<site>]
Copied!
Arguments

site

site
If set, then only pages of a specific site are checked
Help

Check integrity of redirects

redirects:cleanup

redirects:cleanup Back to list
Cleanup old redirects periodically for given constraints like days, hit count or domains.
Usage
redirects:cleanup [-d|--domain [DOMAIN]] [-s|--statusCode [STATUSCODE]] [-a|--days [DAYS]] [-c|--hitCount [HITCOUNT]] [-p|--path [PATH]] [-t|--creationType [CREATIONTYPE]]
Copied!
Options

--domain

--domain / -d
Cleanup redirects matching provided domain(s)
Value
Optional (multiple)
Default value
[]

--statusCode

--statusCode / -s
Cleanup redirects matching provided status code(s)
Value
Optional (multiple)
Default value
[]

--days

--days / -a
Cleanup redirects older than provided number of days
Value
Optional

--hitCount

--hitCount / -c
Cleanup redirects matching hit counts lower than given number
Value
Optional

--path

--path / -p
Cleanup redirects matching given path (as database like expression)
Value
Optional

--creationType

--creationType / -t
Cleanup redirects matching provided creation type
Value
Optional
Help

Cleanup old redirects periodically for given constraints like days, hit count or domains.

referenceindex:update

referenceindex:update Back to list
Update the reference index of TYPO3
Usage
referenceindex:update [-c|--check]
Copied!
Options

--check

--check / -c
Only check the reference index of TYPO3
Value
None allowed
Default value
false
Help

Update the reference index of TYPO3

scheduler:execute

scheduler:execute Back to list
Execute given Scheduler tasks.
Usage
scheduler:execute [-t|--task [TASK]]
Copied!
Options

--task

--task / -t
Execute tasks by given id. To run all tasks of a group prefix the group id with "g:", e.g. "g:1"
Value
Optional (multiple)
Default value
[]
Help

Execute given Scheduler tasks.

scheduler:list

scheduler:list Back to list
List all Scheduler tasks.
Usage
scheduler:list [-g|--group [GROUP]] [-w|--watch [WATCH]]
Copied!
Options

--group

--group / -g
Show only groups with given uid
Value
Optional (multiple)
Default value
[]

--watch

--watch / -w
Start watcher mode (polling)
Value
Optional
Help

List all Scheduler tasks.

scheduler:run

scheduler:run Back to list
Start the TYPO3 Scheduler from the command line.
Usage
scheduler:run [-i|--task [TASK]] [-f|--force] [-s|--stop]
Copied!
Options

--task

--task / -i
UID of a specific task. Can be provided multiple times to execute multiple tasks sequentially.
Value
Optional (multiple)
Default value
[]

--force

--force / -f
Force execution of the task which is passed with --task option
Value
None allowed
Default value
false

--stop

--stop / -s
Stop the task which is passed with --task option
Value
None allowed
Default value
false
Help

If no parameter is given, the scheduler executes any tasks that are overdue to run. Call it like this: typo3/sysext/core/scheduler:run --task=13 -f

site:list

site:list Back to list
Shows the list of sites available to the system
Usage
site:list
Copied!
Help

Shows the list of sites available to the system

site:show

site:show Back to list
Shows the configuration of the specified site
Usage
site:show <identifier>
Copied!
Arguments

identifier

identifier
The identifier of the site
Help

Shows the configuration of the specified site

syslog:list

syslog:list Back to list
Show entries from the sys_log database table of the last 24 hours.
Usage
syslog:list
Copied!
Help

Prints a list of recent sys_log entries. If you want to get more detailed information, use the --verbose option.

upgrade:list

upgrade:list Back to list
List available upgrade wizards.
Usage
upgrade:list [-a|--all]
Copied!
Options

--all

--all / -a
Include wizards already done.
Value
None allowed
Default value
false
Help

List available upgrade wizards.

upgrade:run

upgrade:run Back to list
Run upgrade wizard. Without arguments all available wizards will be run.
Usage
upgrade:run [<wizardName>]
Copied!
Arguments

wizardName

wizardName
Help

This command allows running upgrade wizards on CLI. To run a single wizard add the identifier of the wizard as argument. The identifier of the wizard is the name it is registered with in ext_localconf.

workspace:autopublish

workspace:autopublish Back to list
Publish a workspace with a publication date.
Usage
workspace:autopublish
Copied!
Help

Some workspaces can have an auto-publish publication date to put all "ready to publish" content online on a certain date.