Web Analytics

Fill the form & Get Installation Support





    Send shipment email programmaticaly through cronjob

    Let’s say I have this requirement to send the shipment email every 5 minutes or 10 minutes. To perform the task, I chose to create a custom cronjob and its file to achieve the functionality. Follow the below steps for more details.

    Step 1: Create a crontab.xml

    Step 2: Create a Send.php file. Please follow the below code

    Now, when the cron runs it will execute our code and if any shipment mail needs to send then it will be sent.

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Author Image

      Hire A. Patel

      Get a Free Quote





        Connect With Us