No announcement yet.

Setting up Cron Job in Magento 2

  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting up Cron Job in Magento 2

    Magento 2 is loaded with many awesome features, and Cron Job is one of the most useful among them. Cron is a time-based scheduler and it is useful to run commands automatically with scheduled time and date in Magento 2.

    Cron is one the most important part for Magento 2. You can schedule multiple activities via cron which are listed below:
    • Generating Google sitemaps
    • Newsletters
    • Reindexing
    • Catalog price rules
    • Customer Alerts and Notifications.
    • Private sales (Magento Enterprise Edition only)
    • All Magento e-mails which also includes order confirmation and transactional.
    • Auto update currency rates

    For more details, you may check the official documentation on Cron Job. Today, I am going to guide you how to setup a Cron job in Magento 2 using a custom module. I hope that you already have created a custom module in Magento 2.

    Read full article at: