Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Magento 2

You're reading from   Mastering Magento 2 Maximize the power of Magento 2 to create productive online stores

Arrow left icon
Product type Paperback
Published in Jun 2016
Publisher Packt
ISBN-13 9781785882364
Length 340 pages
Edition 2nd Edition
Languages
Tools
Concepts
Arrow right icon
Authors (3):
Arrow left icon
Bret Williams Bret Williams
Author Profile Icon Bret Williams
Bret Williams
Jonathan Bownds Jonathan Bownds
Author Profile Icon Jonathan Bownds
Jonathan Bownds
Andre Gugliotti Andre Gugliotti
Author Profile Icon Andre Gugliotti
Andre Gugliotti
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Planning for Magento 2. Installing Magento 2 FREE CHAPTER 3. Managing Products 4. Designs and Themes 5. Configuring to Sell 6. Managing Non-Product Content 7. Marketing Tools 8. Extending Magento 9. Optimizing Magento 10. Advanced Techniques 11. Pre-Launch Checklist 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime