Book Image

Mastering Magento 2 - Second Edition

By : Bret Williams, Andre Gugliotti, Jonathan Bownds
Book Image

Mastering Magento 2 - Second Edition

By: Bret Williams, Andre Gugliotti, Jonathan Bownds

Overview of this book

The long-awaited release of the world's most popular online solution, Magento 2, is now out with an all new interface and several enhancements. This book offers you advanced guidance on managing, optimizing, and extending your store while taking advantage of the new features of Magento 2. This is a comprehensive guide to using the all new features and interface of Magento 2 to build, extend, and design online stores. From planning your Magento installation through to advanced techniques designed to make your store as successful as possible, this book is your roadmap to managing your Magento store. Focusing on Magento's Community version, the book covers everything from creating and managing multiple stores to fine-tuning Magento for speed and performance. You’ll learn how to manage categories, products, design themes, extensions, and more.
Table of Contents (18 chapters)
Mastering Magento 2 Second Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Magento cron


If you're not up on Unix lingo, a cron job is a scheduled action that occurs at preset intervals on your server. For instance, Magento can create a new sitemap for your store according to the time interval you configure in the backend.

What is confounding to many new to Magento is that configuring cron intervals for various Magento functions doesn't actually cause anything to happen. The reason is that your server must still be told to run the configured tasks.

Cron jobs are configured by using what are called crontabs. These are expressions that dictate how often the server is to run the particular task.

Magento cron jobs

There are a few inherent functions included with Magento that can be run periodically, including:

  • Catalog pricing rules

  • Sending out scheduled newsletters

  • Customer alerts for product price changes and availability

  • Retrieval of currency exchange rates

  • Creating sitemaps

  • Log cleanup

Some third-party modules also include scheduled tasks, such as Google Product feeds. The...