Magento Expert Forum - Improve your Magento experience

Results 1 to 2 of 2

How to Set up Custom Cron Job in Magento 2

  1. #1
    Junior Member
    Join Date
    Aug 2022
    Thanked 0 Times in 0 Posts

    Post How to Set up Custom Cron Job in Magento 2

    Cron work empowers to over and over run a bunch of orders at booked date and time. Luckily, Magento 2 storekeepers can involve this usefulness in the store!

    The technique to set up custom cron job in Magento 2 aides the storekeeper to successfully oversee errands like keeping the reserves and records state-of-the-art and ideal cleanups. Also, there are assignments which should be done later to stay away from framework over-burden, or essentially because of the necessity of condition satisfaction.

    For instance, for the clients who purchased your item are supposed to leave a survey and an update Email should be sent following a couple of days of the buy. The survey update Email can be computerized in the Magento 2 store utilizing the underneath technique!

    There are different undertakings for which custom cron occupation can be useful, for example,

    - Producing Google sitemaps
    - Client cautions or warnings with respect to item cost change, item back in stock, and so forth.
    - All Magento messages (counting request affirmation and conditional)
    - Index cost rules
    - Bulletins
    - Reindexing
    - Confidential deals (Magento Business as it were)
    - Programmed refreshing of cash rates

    For more info,visit

    View more threads in the same category:

  2. #2
    Junior Member
    Join Date
    Sep 2018
    Oman, Muscat
    Thanked 3 Times in 3 Posts


    Magento 2 Cron Work: How to Make, Set up, and Design It in Simple tasks
    Stage 1: Make an Example Module.
    Stage 2: Make a Class to Run a Cron Work.
    Stage 3: Make crontab.xml Document.
    Stage 4: Gather the Code and Clean the Store.
    Stage 5: Confirm the Cron Work.
    Stage 6: Set up Magento 2 Cron Gathering (Discretionary)

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts