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 Admin. 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. See Set up cron jobs.

To configure cron:

  1. On the Admin sidebar, click Stores.

  2. Under Settings, choose Configuration.

  3. In the panel on the left under Advanced, choose System.

  4. Expand the Cron section.

    Cron (Scheduled Tasks)

  5. 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

  6. When complete, click Save Config.