DEV Community

Cover image for Running Joomla Task Scheduler tasks from the console (CLI)
Sergey Tolkachyov
Sergey Tolkachyov

Posted on

Running Joomla Task Scheduler tasks from the console (CLI)

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

and then run the task by its id

php /path/to/site/public_html/cli/joomla.php scheduler:run --id=XXX
Enter fullscreen mode Exit fullscreen mode

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.

Joomla 5 CLI interface

Joomla Community resources

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more