---
label: 'Running and configuring cron'
related:
- core.maintenance
---
{% set cron = render_var(url('system.cron_settings')) %}
{% trans %}Goal{% endtrans %}
{% trans %}Configure your system so that cron will run automatically.{% endtrans %}
{% trans %}What are cron tasks?{% endtrans %}
{% trans %}To ensure that your site and its modules continue to function well, a group of administrative operations should be run periodically. These operations are called cron tasks, and running the tasks is known as running cron. Depending on how often content is updated on your site, you might need to run cron on a schedule ranging from hourly to weekly to keep your site running well.{% endtrans %}
{% trans %}What options are available for running cron?{% endtrans %}
- {% trans %}If the core Automated Cron module is installed, your site will run cron periodically, on a schedule you can configure.{% endtrans %}
- {% trans %}You can set up a task on your web server to visit the cron URL, which is unique to your site, on a schedule.{% endtrans %}
- {% trans %}You can also run cron manually, but this is not the recommended way to make sure it is run periodically.{% endtrans %}
{% trans %}Steps{% endtrans %}
- {% trans %}In the Manage administration menu, navigate to Configuration > System > Cron. Note the Last run time on the page.{% endtrans %}
- {% trans %}If you want to run cron right now, click Run cron and wait for cron to finish.{% endtrans %}
- {% trans %}If you have a way to configure tasks on your web server, copy the link where it says To run cron from outside the site, go to. Set up a task to visit that URL on your desired cron schedule, such as once an hour or once a week. (On Linux-like servers, you can use the wget command to visit a URL.) If you configure an outside task, you should uninstall the Automated Cron module.{% endtrans %}
- {% trans %}If you are not configuring an outside task, and you have the core Automated Cron module installed, select a schedule for automated cron runs in Cron settings > Run cron every. Click Save configuration.{% endtrans %}
{% trans %}Additional resources{% endtrans %}