Web Analytics

Fill the form & Get Installation Support

Any Question or Concerns?
Let's discuss

    Send shipment email programmaticaly through cronjob

    Related articles

    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.

    Contact us for scientific strategies to increase your site conversions

      Connect With Us