Scheduled Tasks

Scheduled Tasks (Scheduler) are a feature in Joomla from version 4 that let you automate recurring jobs like clearing the cache or sending emails.

  • Function and Purpose

    The task scheduler replaces external cron jobs with built-in jobs. You can run tasks on a schedule, for example daily or weekly. Joomla runs the tasks when visitors access your site or when a cron call is made via the CLI.

    Examples of Tasks

    • Clear cache: Automatically remove the site and module cache.
    • Send emails: Regularly send out accumulated notifications.
    • Empty trash: Automatically delete content from the Trash.

    Setup and Management

    • Backend: Under System → Scheduled Tasks you can create new tasks and enable or disable existing ones.
    • Cron call: For recurring tasks without site visits, you can set up a CLI cron job.
    • Third parties: Extensions can register their own tasks.

    See also