Site Administration
Topic

Cron for Drupal 7, 8, 9, 10, and 11

To ensure that your site and its modules continue to function correctly, a set of administrative operations should be performed periodically. These operations are referred to as cron tasks.

Example tasks

  • Checking for module and theme updates
  • Indexing content for search
  • Cleaning up temporary files

Confidence

Linux/Unix-based operating systems have a cron scheduler that can be used to run periodic tasks. This is a long-standing feature of website hosting environments. Automated cron is a core module, and other contributed modules are available to assist you in setting up scheduled cron tasks with the administrative UI.

Drupalize.Me resources

Drupal 8, 9, 10, and 11
More information

Overview of cron and how it is different from Unix cron.

More information

How to run cron maintenance tasks using the core Automated Cron module, or by running them from outside the site.

Guides

Not sure where to start? Our guides provide useful learning tracks for all skill levels.

Navigate guides

External resources