Magento Open Source 2.1.x

Magento 2.1.x Notice: Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates. To maintain your site's performance, security, and PCIPayment Card Industry: Refers to debit and credit cards and their associated businesses. compliance, upgrade to the latest version of Magento. The Magento User Guide 2.1.x remains available in PDF for Open Source and Commerce.

Cron (Scheduled Tasks)

Magento performs some operations on schedule by periodically running a script. You can control the execution and scheduling of Magento cron jobs from the AdminThe password-protected back office of your store where orders, catalog, content, and configurations are managed.. Store operations that run according to a cron schedule include:

In addition, you can configure the following to run according to a cron schedule:

  • Order System Grid Updates and Reindexing
  • Pending Payment Lifetime

Make sure that the base URLs for the store are set correctly, so the URLs that are generated during cron operations are correct. To learn more, see: Setting Up Cron Jobs.

To configure cron:

1. On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.
2. In the panel on the left under Advanced, choose System.
3. Expand the Cron section.

Cron (Scheduled Tasks)
4. Then, complete the following settings for the Index and Default groups. The settings are the same in each section.
  • Generate Schedules Every
  • Schedule Ahead for
  • Missed if not Run Within
  • History Cleanup Every
  • Success History Lifetime
  • Failure History Lifetime
  • Use Separate Process

Cron Configuration for Group: Index
5. When complete, tap Save Config.