Home > Backend Development > PHP Tutorial > Running Joomla Task Scheduler tasks from the console (CLI)

Running Joomla Task Scheduler tasks from the console (CLI)

Linda Hamilton
Release: 2024-12-14 17:55:13
Original
959 people have browsed it

To start the execution of scheduler tasks using the CLI, you need to connect to your server via SSH and run the command:

php /path/to/site/public_html/cli/joomla.php scheduler:run
Copy after login

If you need to run a specific task, you can view the list using the command

php /path/to/site/public_html/cli/joomla.php scheduler:list
Copy after login

and then run the task by its id

php /path/to/site/public_html/cli/joomla.php scheduler:run --id=XXX
Copy after login

Starting from Joomla 4 it has a Symfony console under the hood. Read more in Joomla Community Magazine article: Joomla 4: A Powerful CLI Application.

Running Joomla Task Scheduler tasks from the console (CLI)

Joomla Community resources

  • https://joomla.org/
  • Joomla Community chat in Mattermost (read more)

The above is the detailed content of Running Joomla Task Scheduler tasks from the console (CLI). For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template